Pages
About Me
Entertainment
Technologies
Practice Programs
VB Art Gallery
Contact Me
Test 3
First operating system designed using C programming language.
DOS
Windows
UNIX
Mac
Which of the following variable cannot be used by switch-case statement?
char
int
float
double
The prototype of a function can be used to
Define a function
Declare a function
Erase a function
None of the above
To print a double value which format specifier can be used?
%L
%lf
%LF
None
Which of the following is a logical operator?
!
&&
||
All the above
Which of the following is used in mode string to open the file in binary mode?
a
b
B
bin
Which of these is an invalid dataname?
wd-count
wd_count
w4count
wdcountabcd
Which of the following is the correct usage of conditional operators used in C?
a>b ? c=30 : c=40;
a>b ? c=30;
max = a>b ? a>c?a:c:b>c?b:c
return (a>b)?(a:b)
Which of the following data type uses %e format specifier?
int
float
char
double
Which of the following format specifier is used for unsigned char?
%c
%u
%uc
None
Submit Test
Newer Post
Older Post
Home