Explore topic-wise MCQs in INautix.

This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your INautix knowledge and support exam preparation. Choose a topic below to get started.

1.

Predict the output of the following program: main() { int x[ ]={5,6,7,8,9}; char*a; a=(char *)x; printf(%d,*((int*) a+3)); }

A. 8
B. 5
C. 7
D. Error
Answer» B. 5
2.

What is the value range of unsigned char in C language?

A. -128 to 127
B. 0 to 255
C. -128 to 255
D. -127 to 128
Answer» C. -128 to 255
3.

In C language, the sizes of an integer and a pointer must be

A. Same
B. Vary
C. Depends on the compiler
D. None of these
Answer» D. None of these
4.

Through which the transfer of data from CPU to peripheral devices of a computer is achieved:

A. Interface
B. Modems
C. Computer Ports
D. None of These
Answer» B. Modems
5.

What is the output of code fragement? int x==4; printf("%d %d",x++,++x);

A. 44
B. 45
C. 55
D. 56
Answer» D. 56
6.

Which of the following does the data integrity refer to?

A. Simplicity of data
B. Privacy of data
C. Security of data
D. Validity of data
Answer» B. Privacy of data