State whether the following statements are true or false.

a) A pointer is a variable that contains as its value the address of another variable.

b) A pointer that is declared to be of type void* can be dereferenced.

c) The address operator & can be applied only to constants and to expressions.

d) The only integer that can be assigned directly to a pointer is 0.

1
a) True, b) False, c) False, d) True
2
a) True, b) False, c) False, d) False 
3
a) True, b) True, c) False, d) False
4
a) True, b) False, c) True, d) False

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation