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) in C#?
5. What is the output of Console.Write("{0}", 2 * 3 + 4); ?
6. Which keyword is used to return a value from a method?
7. Which symbol is used for single-line comments in C#?
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