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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a set in c++?

521


What is pointer -to-members in C++? Give their syntax?

589


How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?

1823


What is c++ code?

573


What is the use of 'using' declaration in c++?

613






I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.

595


Differentiate between late binding and early binding.

625


What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor

660


Can comments be nested?

611


What is iterator in c++?

600


What are the implicit member functions of class?

585


Can we declare a base-class destructor as virtual?

577


What is a c++ vector?

578


Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list

600


What is the insertion operator and what does it do?

556