| 1. |
If ptr is a pointer to int, having value ptr=100. After ptr++, what is the value of ptr?
|
||||||||
|
Answer:
Option (c) |
| 2. |
A Pointer is?
|
||||||||
|
Answer:
Option (c) |
| 3. |
A pointer value refers to
|
||||||||
|
Answer:
Option (c) |
| 4. |
Pointer variable is declared using preceding _________ sign
|
||||||||
|
Answer:
Option (c) |
| 5. |
Address stored in the pointer variable is of type ________
|
||||||||
|
Answer:
Option (a) |
| 6. |
Consider the 32 bit compiler. We need to store address of integer variable to integer pointer. What will be the size of integer pointer?
|
||||||||
|
Answer:
Option (b) |
| 7. |
In order to fetch the address of the variable we write preceding _________ sign before variable name.
|
||||||||
|
Answer:
Option (b) |
| 8. |
"&" is called as ___________ in pointer concept
|
||||||||
|
Answer:
Option (c) |
| 9. |
"*" is called as __________
|
||||||||
|
Answer:
Option (a) |
| 10. |
What is the output?
void main()
|
||||||||
|
Answer:
Option (b) |