1000+ Multiple Choice Questions on C Programming with Answers - 1

Question: 1

A global variable is a variable

(A) declared anywhere in the C program

(B) declared outside the body of every function

(C) declared in any function other than the main() function

(D) declared in the main() function

Ans: B

declared outside the body of every function

Question: 2

The most common use of the one dimensional array in C is the

(A) function

(B) data

(C) character

(D) string

Ans: D

string

Question: 3

Functions in a multi-file program are

(A) automatic or external

(B) static or register

(C) external or static

(D) automatic or register

Ans: C

external or static

Question: 4

The symbol for the address operator is

(A) $

(B) !

(C) %

(D) &

Ans: D

&

Question: 5

A variable that holds the memory address of another object is called a

(A) memory variable

(B) constant

(C) pointer

(D) integer

Ans: C

pointer

Related Questions
Read More Engineering Topics