This Quiz contains totally 10 Questions each carry 1 point for you.
1. What is the control character for “a single character”?
%c
%d
%i
%p
Correct!
Wrong!
2. What is the control character for “a decimal integer” ?
%c
%d
%i
%p
Correct!
Wrong!
3. What is the control character for “a floating point number” ?
%c
%d
%f
%i
Correct!
Wrong!
4. ___ statement is used to branch unconditionally from one point to another in the program
continue
goto
for
break
Correct!
Wrong!
5. The ___ is used to break out of the case statements.
continue
break
default
case
Correct!
Wrong!
6. In mathematics and computer programming, which is the correct order of mathematical operators ?
Addition, Subtraction, Multiplication, Division
Division, Multiplication, Addition, Subtraction
Multiplication, Addition, Division, Subtraction
Addition, Division, Modulus, Subtraction
Correct!
Wrong!
7. Which of the following cannot be checked in a switch-case statement?
character
float
integer
enum
Correct!
Wrong!
8. Which of the following is not logical operator?
&
&&
||
!
Correct!
Wrong!
9. What is stderr ?
standard error
standard error streams
standard error definitions
standard error types
Correct!
Wrong!
10. The keyword used to transfer control from a function back to the calling function is
return
switch
goto
go back
Correct!
Wrong!
Share the quiz to show your results !
Subscribe to see your results
Ignore & go to results
C-Programming-Quiz-10
You got %%score%% of %%total%% right
%%description%%
%%description%%
Loading...
