Online C Programming Test with Certificate - 1

Question: 1

Which of the storage class may help in faster execution?

(A) auto

(B) extern

(C) register

(D) static

Ans: C

register

Question: 2

Keyword used to create a structured data type is

(A) struc

(B) struct

(C) structr

(D) structure

Ans: B

struct

Question: 3

The function used for dynamic memory allocation is

(A) memalloc()

(B) blockalloc()

(C) mcalloc()

(D) malloc()

Ans: D

malloc()

Question: 4

Resolution refers to the

(A) number of pixels used on the screen

(B) number of images that can be replaced at a given line

(C) minimum size of image

(D) all of above

Ans: A

number of pixels used on the screen

Question: 5

Pointer variables may be assigned

(A) address value represented in binary notation

(B) address of another variable

(C) address value represented in octal notation

(D) address value represented in hexadecimal notation

Ans: B

address of another variable

Error Report!

Related Questions