What is the size of pointer ?
Also size of pointer in 64 bit pointer
Answers were Sorted based on User's Feedback
Answer / shraddha
The size of pointer is 2 bytes on 16 bit platform
The size of pointer is 4 bytes on 32 bit platform
The size of pointer is 8 bytes on 64 bit platform
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / kunal mittal
Size of the pointer often corresponds to the architecture
Using a 32-bit OS gives you a 32bit pointer (ditto for 64 bit)
Is This Answer Correct ? | 4 Yes | 3 No |
Answer / 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 |
What type of question are asked in GE code writing test based on c++ data structures and pointers?
Explain what happens when a pointer is deleted twice?
What are the types of STL containers?
What is prototype for that c string function?
Explain how functions are classified in C++ ?
Write a recursive program to calculate factorial in c++.
Can I learn c++ without knowing c?
Explain one-definition rule (odr).
Should the this pointer can be used in the constructor?
Why we use #include iostream in c++?
Define private, protected and public access control.
When does the c++ compiler create temporary variables?