Quiz 2
1. What will printf("%c", 65); output?
2. Which function is used to read a string from input?
3. What is the correct way to start the main function?
4. Which of the following is a loop structure in C?
5. Which header file is required for printf()?
6. What is the result of 5 % 2 in C?
7. How do you declare an integer variable in C?
8. What does scanf("%d", &x); do?
9. Which of the following is a comment in C?
10. What is the default value of an uninitialized local variable in C?
Previous Next