Coders' Challenge Home Result Search

1. What is the extension of a C++ source file?




2. What is the syntax for declaring a variable in C++?




3. Which C++ keyword is used to define a function?




4. How do you output "Hello, World!" to the console in C++?




5. What is the correct way to comment a single line in C++?




6. Which data type is used to store whole numbers in C++?




7. What is the purpose of the `cin` object in C++?




8. What does the `++` operator do in C++?




9. Which header file is used for input and output operations in C++?




10. What is the correct syntax for a for loop in C++?