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 |
I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?
What can I use instead of namespace std?
How can I disable the "echo" feature?
Why we use #include iostream in c++?
What do you mean by volatile and mutable keywords used in c++?
What is the difference between static global and global ?
What is iomanip c++?
Do class declarations end with a semicolon?
What is a container class? What are the types of container classes?
Explain rethrowing exceptions with an example?
What is the this pointer?
Explain virtual class and friend class.