Page:14
Below are the scanned copy of Kerala Public Service Commission (KPSC) Question Paper with answer keys of Exam Name 'Training Officer' And exam conducted in the year 2023. And Question paper code was '053/2023/OL'. Medium of question paper was in Malayalam or English . Booklet Alphacode was ''. Answer keys are given at the bottom, but we suggest you to try answering the questions yourself and compare the key along wih to check your performance. Because we would like you to do and practice by yourself.
Question66:-This of the following is not a valid type modifier in C.
A:-Signed
B:-Byte
C:-Long long
D:-None of the above
Correct Answer:- Option-B
Question67:-What will be the value of b in following code segment.
#include
int main()
{
int b = printf("Message");
printf("%d", b);
return 0;
ர்
A:-14
B:-1
C:-7
D:-Compilation error
Correct Answer:- Option-C
Question68:-The data type which does not allowed as a switch expressionin C.
A:-int
B:-char
C:-float
D:-enum
Correct Answer:- Option-C
Question69:-The following declaration in C indicates
100 : 8;
A:-p is an 8-bit integer
B:-p stores a value of 8
C:-Both 1 and 2
D:-None of the above
Correct Answer:- Option-A
Question70:-What will be the following code segment ?
#include
int main()
{
int x;
for (x = 5; x!=0; x--)
printf("%d", x--);
return 0;
ர்