This Quiz contains totally 10 Questions each carry 1 point for you.
1. C supports how many basic looping constructs
2
3
4
6
Correct!
Wrong!
2. Which header file is required for strcmp() function?
string.h
strings.h
text.h
strcmp.h
Correct!
Wrong!
3. In which header file malloc() function used in dynamic allocation is available ?
stdio.h
stdlib.h
conio.h
mem.h
Correct!
Wrong!
4. In which header file File manipulation functions in C are available ?
streams.h
stdio.h
stdlib.h
files.h
Correct!
Wrong!
5. A statement differs from expression by terminating with a
;
:
NULL
.
Correct!
Wrong!
6. What should be the return value of expression for a do-while to terminate
-1
0
1
NULL
Correct!
Wrong!
7. Which of the following is an unconditional control structure
do-while
if-else
goto
for
Correct!
Wrong!
8. Continue statement is used
to go to the next iteration in a loop
come out of a loop
exit and return to the main function
restarts iterations from the beginning of the loop
Correct!
Wrong!
9. Which header file is required for strcpy() function?
string.h
strings.h
files.h
strcsspy()
Correct!
Wrong!
10. The conversion characters for data input means that the data item is
An unsigned decimal integer
A short integer
A hexadecimal integer
A string followed by white space
Correct!
Wrong!
Share the quiz to show your results !
Subscribe to see your results
Ignore & go to results
C-Programming-Quiz-6
You got %%score%% of %%total%% right
%%description%%
%%description%%
Loading...