Q. What does the 'void' keyword in C++ represent?

  • (A) A function that does not return any value
  • (B) A variable with no value
  • (C) A data type used for memory management
  • (D) A constant value
πŸ’¬ Discuss
βœ… Correct Answer: (A) A function that does not return any value
Explanation: 'void' is used to indicate that a function does not return any value.
Explanation by: Ram Sharma
'void' is used to indicate that a function does not return any value.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
146
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
83%
Success Rate