Which one of the following will read a character from the keyboard and will store it in the variable c.
A. c = getc();
B. getc( &c );
C. c- getchar( stdin);
D. c-getchar();
ANSWER: D
A. c = getc();
B. getc( &c );
C. c- getchar( stdin);
D. c-getchar();
ANSWER: D
A. @@
B. ##
C. II
D. &&
ANSWER: C
In a C expression, how is a logical OR represented. Read More »
A. @@
B. ##
C. $$
D. &&
ANSWER: D
In a C expression, how is a logical AND represented. Read More »
A. unalloc()
B. dealloc()
C. release()
D. free()
ANSWER: D
A.0
B. undefined
C. 1
D. -1
ANSWER: B
After the execution of the statement int x; the value of x is Read More »
A. sructure.
B. struct.
C. struc.
D. structr.
ANSWER: B
The keyword used to represent a structure data type is Read More »
A. write ( ).
B. output ().
C. flush ().
D. fflush().
ANSWER: D
A. Char.
B. int.
C. float.
D. double.
ANSWER: B
Which is the fundamental data type is used to implement the enum data type. Read More »
A. Qsort.
B. Sort.
C. Assort.
D. Bsort.
ANSWER: A
Which ANSI C standard function could be used to sort a string array. Read More »
A. Gmtime.
B. Ctime.
C. Strtime.
D. Asctime.
ANSWER: B
Which of the following function returns calendar time to local time. Read More »