Assignment 22 Typesoffunctions Ans
Assignment 22 Typesoffunctions Ans
a. Yes
b. No
c. Only in Modern Compilers.
d. Only in Turbo compiler.
Answer - b. No
a. Function Prototype
b. Function Body
c. Function Definition
d. None of the above
a. 2
b. 4
c. 6
d. 8
Answer - b. 4
a. time.h
b. stdio.h
c. conio.h
d. dos. h
Answer - d. dos. h
a. milliseconds
b. nanoseconds
c. microseconds
d. None of the above
Answer - a. milliseconds
a. <column>, <row>
b. <row>, <column>
c. Compiler dependent behavior
d. None of the above
a. int
b. char
c. float
d. double
Answer - a. int
a. int
b. char
c. float
d. void
Answer - a. int
16. The return type of function printf() of stdio.h in C language is...
a. int
b. char
c. float
d. void
Answer - a. int
17. What is the behavior of a code in which we try to receive a value from a
function whose return type is void?
a. Syntax Error
b. Compilation Error
c. Runtime Error
d. No, Code will execute with 0 Error and 0 Warning
18. To display colored text on console in Turbo Compiler the function is used is...
a. printf();
b. print();
c. cprintf();
d. None of the above
Answer - a. printf();