1 |
Escape sequences are used in printf function inside the: |
"and"
'and'
:and:
,and;
|
2 |
In C language _______ is used as statement terminator: |
;
:
,
"
|
3 |
Which is identifier for compiler to identity the end of a line ? |
:
:
"
'
|
4 |
Which library file include in header section of program, when using getch() function ? |
conio.h
stdio.h
math.h
string.h
|
5 |
Which function is generally used to hold the execution of program because the program does not continue further until the user types a key ? |
read
getch()
input
printf
|
6 |
In which function character entered by user does not get displayed on screen ? |
getch()
<div><br></div><div>count</div>
string
printf
|
7 |
Which function used to read a character from user ? |
printf
getch()
count
string
|
8 |
Format specifier is always preceded by: |
%
=
^
$
|
9 |
Which is a built-in function in C language that takes input from user into the variables ? |
printf()
scanf()
input
print
|
10 |
Which format specifier is used for character data type ? |
%d
%i
%c
%f
|
11 |
Which format specifier is used for float data type ? |
%d
%i
%f
%c
|
12 |
Which format specifier is used for integer data type ? |
%d
%i
both a and b
none of these
|