C++ Fundamentals Quiz

1. What is the correct syntax to output "Hello World" in C++?

2. Which of the following is NOT a valid C++ data type?

3. What is the correct way to create a for loop in C++?

4. How do you declare a function in C++ that doesn't return any value?

5. Which keyword is used to create a class in C++?