What is the size of pointer ?
Also size of pointer in 64 bit pointer

Answer Posted / shakti singh khinchi

Ans1: Size of a pointer is size of a WORD in OS. OR you can
say that size of a pointer is similar to size of a "int"
variable on that OS.

Ans2: size of 64 bit pointer is also similar to size of an
integer type variable that is 8 bytes.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why should we use null or zero in a program?

772


What is a float in c++?

731


What is the difference between object-oriented programming and procedural programming?

890


What can I use instead of namespace std?

859


Which software is best for c++ programming?

768


Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?

770


What does it mean to declare a member variable as static?

797


Define a constructor?

780


When should overload new operator on a global basis or a class basis?

804


Explain 'this' pointer and what would happen if a pointer is deleted twice?

813


How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?

835


What are the sizes and ranges of the basic c++ data types?

782


Write about the stack unwinding?

825


What is an adaptor class in c++?

776


What is istream and ostream in c++?

792