Question Detail

Which operator is used for comparing two variables

  • :=
  • =
  • =:
  • ==
Similar Questions :

1. Inline functions are invoked at

  • Run time
  • Compile time
  • Debug time
  • None of above

2. 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

3. C++ programs must contain

  • start()
  • system()
  • main()
  • program()

4. 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

5. What is getline() in c++

  • getline() extract the delimeter newline character from the input stream
  • getline() does not extract the delimeter newline character from the input stream
  • None of above
Read more from - C++ Programming Questions Answers - Chapter 1