Question Detail

what is the size of int datatype for 32 bit system

  • 1 byte
  • 2 byte
  • 4 byte
  • 8 byte
Similar Questions :

1. Difference between static and dynamic memory allocation is

  • In static memory allocation memory to be allocated in preknown
  • In dynamic memory allocation memory to be allocated in preknown
  • There is no differnece
  • Not exact difference is mentioned

2. All members of class have which access to its members

  • private
  • public
  • protected
  • depends

3. Which operator is used to define a member of a class from outside the class definition

  • ->
  • ::
  • .
  • >>

4. what is a class in c++

  • Class in a collection of objects
  • Class has noting to do with object
  • It just have declaration of few variables
  • None of above

5. How to define a destructor

  • X~() {}
  • X() {}~
  • X() ~{}
  • ~X() {}
Read more from - C++ Programming Questions Answers - Chapter 1