Question Detail

Can we define array of classes in c++ ?

  • Yes
  • No
Similar Questions :

1. Can we define array of classes in c++ ?

  • Yes
  • No

2. int *ptr[5];

  • a pointer of 5 int elements
  • an array of 5 int pointers
  • an array of 5 elements returning an int value
  • none of above

3. Which of following valid option will not return a value in c++ ?

  • free
  • void
  • empty
  • null

4. Size of a char is ?

  • 1
  • 2
  • 3
  • 4

5. << operator is ?

  • stream extraction operator
  • stream insertion operator
  • left shift operator
  • right shift operator
Read more from - C++ Programming Questions Answers - Set 2