Page:3
Below are the scanned copy of Kerala Public Service Commission (KPSC) Question Paper with answer keys of Exam Name 'Jr Instrctor(Information Communication Technology System Maintenance) Industrial Training(cat no 093/2018)' And exam conducted in the year 2019. And Question paper code was '061/2019/OL'. Medium of question paper was in Malayalam or English . Booklet Alphacode was 'A'. 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.
Question16:-What will be the output of the following program segment
#include
main{}
intz, x = 4, y = -10, a=4, b=2;
2= X++ - ~y*bfa;
printf(%d",z);
ديم
B:-7
6-8
D:-9
Correct Answer:- Option-D
Question17:-What will be the output?
main{}
unionstud {
char name [10]; {
int regno;
int mark1;
خر سکیا
1
printf("%d sizeof(st});
6ھ
B:-0
C:-12
D:-10
Correct Answer:- Option-D
Question18:-What is the retum value of malloc()7
A:-size of the allocated memory
B:-base address of the allocated memory
C:-1 if memory allocation is success
D:-none of these
Correct Answer:- Option-B
Question19:-Which of the following header file must be included to use dynamic memory allocation functions?
A:-dos.h
B:-stdio.h
C:-stdlib.h
D:-memory.h
Correct Answer:- Option-C
Question20:-What will be the data type retumed by the following function?
#include
int func(}
retumn {float)(char}8.3;
ಹಿ!
B:-float
C:-char
D:-multiple typecasting not allowed
Correct Answer:- Option-A
Question21:-What will be the output of the following program
#include
main{}
{ inta=5b*3%6-8+3;
printf(*%d".a);
A:-10
B:-2
6-2
0-3
Correct Answer:-Question Cancelled
Question22:-Information on basic system configuration is stored in
A:-BIOS