| 1. |
Array index start at
|
||||||||
|
Answer:
Option (c) |
| 2. |
Every string is terminated by NULL character. How it is represented?
|
||||||||
|
Answer:
Option (a) |
| 3. |
Which of the following is used as a string termination character?
|
||||||||
|
Answer:
Option (b) |
| 4. |
The format specifier to accept a string is
|
||||||||
|
Answer:
Option (d) |
| 5. |
Which header file is necessary for strlen() function?
|
||||||||
|
Answer:
Option (c) |
| 6. |
What is an array in C language?
|
||||||||
|
Answer:
Option (d) |
| 7. |
How do you initialize an array in C?
|
||||||||
|
Answer:
Option (c) |
| 8. |
Assuming int is of 4bytes, what is the size of int arr[15];?
|
||||||||
|
Answer:
Option (d) |
| 9. |
The index of the first element in an array is __________
|
||||||||
|
Answer:
Option (a) |
| 10. |
What is the output?
void main()
|
||||||||
|
Answer:
Option (b) |