Quiz 3
1. Which of the following is used for decision making in C?
2. Which operator is used to increment a value by 1?
3. What is the correct way to write a character constant in C?
4. What is the size of a float variable (typically)?
5. What is the output of printf("%d", 2 * 3 + 4);?
6. Which function is used to return a value from a function?
7. Which symbol is used for single-line comments in C99 and later?
8. Which of the following is a valid assignment in C?
9. What is the value of 10 > 5 ? 1 : 0 in C?
10. Which is the correct way to declare a string in C?
Previous Next