C++
1. Answer the ff.
a) Which of the following are allowed in the third section of the for loop statement?
a. i++
b. i+=2
c. cout <>
d. All of these
b) Which of the following data types may be used in a switch statement?
a. int
b. char
c. enum
d. float
c) Which of the following are valid case statements in a switch?
a. case 1:
b. case x <>
c. case 'ab':
d. case 1.5:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here