C++ Programming Question and Answers

66. How many fundamental data types are there?
 
  • Integral
  • Float and
  • Void are the three fundamental data types.
 
Your Name Your Email-ID
Your Answer
67. How many words are there for data types and what are they?
  There are nine words for data types such as
  • char
  • int
  • double
  • float
  • void
  • short
  • signed
  • long and
  • unsigned
 
Your Name Your Email-ID
Your Answer
68. How can the special character be represented?
  Special characters are represented using escape sequences. Escape sequences are represented using characters prefixed with a backslash.
 
Your Name Your Email-ID
Your Answer
69. What is the use of declaration statements?
 
  • Declaration statements are used to declare user defined data type identifiers, function headers, pointer variables and the like.
 
Your Name Your Email-ID
Your Answer
70. What are the three kinds of loops in C++?
  There are three kinds of loops in C++,
  • for loop
  • while loop and
  • do.. while loop.
 
Your Name Your Email-ID
Your Answer
123456789101112


131415 Page 14 of 15