

MCQOPTIONS
Saved Bookmarks
This section includes 204 Mcqs, each offering curated multiple-choice questions to sharpen your C Programming knowledge and support exam preparation. Choose a topic below to get started.
201. |
Functions cannot return a floating point number |
A. | Yes |
B. | No |
C. | Yes |
D. | No |
Answer» C. Yes | |
202. |
What will be the output of the program in 16 bit platform (Turbo C under DOS)?
#include
|
A. | Garbage value |
B. | 0 (Zero) |
C. | 1990 |
D. | No output |
Answer» D. No output | |
203. |
What is the notation for following functions? 1. int f(int a, float b) { /* Some code */ } 2. int f(a, b) int a; float b; { /* Some code */ } |
A. | KR Notation 2. ANSI Notation |
B. | Pre ANSI C Notation 2. KR Notation |
C. | ANSI Notation 2. KR Notation |
D. | ANSI Notation 2. Pre ANSI Notation |
Answer» D. ANSI Notation 2. Pre ANSI Notation | |
204. |
Which of the following statements are correct about the program?
#include
|
A. | It prints garbage values infinitely |
B. | Runs infinitely without printing anything |
C. | Error: main() cannot be called inside printf() |
D. | No Error and print nothing |
Answer» C. Error: main() cannot be called inside printf() | |