10 MCQ For IBPS IT Officer Exam 2017

image_pdfimage_print

1)C99 standard guarantees uniqueness of ____ characters for internal names.
a)63
b)70
c)88
d)44
e)None of these

2)A one dimensional array A has indices 1….75.Each element is a string and takes up three memory words. The array is stored starting at location 1120 decimal. The starting address of A[49] is
a)1163
b)1264
c)1304
d)1400
e)None of these

3)Which of the following cannot be a variable name in C?
a)Friend
b)True
c)Linker
d)Volatile
e)None of these

4)The information about an array used in a program will be sorted in
a)Dope vector
b)Switch
c)Return
d)Go back
e)None of these

5)enum types are processed by
a)Compiler
b)Interpreter
c)Assembler
d)Appending
e)None of these

6)Consider the following type definition.

typedef char x[10];

x myArray[5];

What will sizeof(myArray) be ? (Assume one character occupies 1 byte)
a)20 byte
b)50 byte
c)30 byte
d)40 byte
e)None of these

7)Which keyword is used to prevent any changes in the variable within a C program?
a)Mutable
b)Constants
c)Const
d)Operators
e)None of these

8)The format identifier ‘%i’ is also used for _____ data type?
a)Char
b)int
c)Float
d)Double
e)None of these

9)Which data type is most suitable for storing a number 65000 in a 32-bit system?
a)Unsigned sort
b)Signed sort
c)Tokens
d)Operators
e)None of these

10)Relational operators cannot be used on:
a)Structure
b)Long
c)Float
d)String
e)None of these

 

 

Answers:
1)a
2)b
3)d
4)a
5)a
6)b
7)c
8)b
9)a
10)a