![Mcqmate logo](https://mcqmate.com/public/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/public/images/logos/logo-white.png)
McqMate
101. |
() is used for _________ |
A. | function body |
B. | Arguments |
C. | Return type |
D. | Declaration of function |
Answer» B. Arguments |
102. |
which is better memory allocation when size is not known |
A. | static |
B. | dynamic |
C. | both |
D. | neither |
Answer» B. dynamic |
103. |
which of the following is the best for getting a string with space from the standard input |
A. | gets |
B. | getc |
C. | fgets |
D. | puts |
Answer» C. fgets |
104. |
Which statement is used to compare the two strings? |
A. | strcmp |
B. | strcompare |
C. | stringcompare |
D. | str_cmp |
Answer» A. strcmp |
105. |
void main()
|
A. | Run-Time Error |
B. | Compile-Time Error |
C. | none |
D. | all |
Answer» B. Compile-Time Error |
Done Reading?