C PROGRAM QUESTIONS : PART 2
The compiler in C ignores all text till the end of line using
//
/
*/
none of above
SHOW ANSWER
Which operator in c can't be overloaded
%
+
::
-
SHOW ANSWER
Which operator has the highest priority
()
[]
*
/
SHOW ANSWER
What is the purpose of getc()
read a character from STDIN
read a character from a file
read all file
read file random
read a character from a file
SHOW ANSWER
Can getch() be used to echo the input
Yes
No
SHOW ANSWER
If (*p) and **p is same
No
Yes
SHOW ANSWER
Difference between structure and union is
We can define functions within structures but not within a union
We can define functions within union but not within a structure
The way memory is allocated
There is no difference
The way memory is allocated
SHOW ANSWER
What among following is true about stack
stack cannot reuse its memory
all elements are of different datatypes
all operation done at one end
none of above
all operation done at one end
SHOW ANSWER
To access the members of structure which symbol is used
*
-
,
.
SHOW ANSWER
A member is a
Variable in a structure
Datatype of structure
None of above
SHOW ANSWER
Structures can be used
to hold different datatypes
have pointers to structures
to assign to one another
all of above
SHOW ANSWER
UML meaning is
Unique modeling language
Unified modeling language
Unified modern language
Unified master laqnguage
Unified modeling language
SHOW ANSWER
printf() belongs to which library of c
stdlib.h
stdio.h
stdout.h
stdoutput.h
SHOW ANSWER