MCQOPTIONS
Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Testing Subject
General Aptitude
Logical and Verbal Reasoning
English Skills Ability
Technical Programming
Current Affairs
General Knowledge
Finance & Accounting
GATE (Mechanical Engineering)
Chemical Engineering
→
C Preprocessor
→
General
→
A macro should always be accommodated in a single...
1.
A macro should always be accommodated in a single line.
A.
TRUE
B.
May Be
C.
FALSE
D.
Can't Say
Answer» B. May Be
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What is the output of the following C program? #include #define SQR(x) (x*x) int main() { int a; int b=4; a=SQR(b+2); printf("%dn",a); return 0; }
How will you free the memory allocated by the following program? #include #define CONDITION(x) printf("letsfindcourse"); int main() { CONDITION(0); return 0; }
The translator which performs macro calls expansion is called:
What is the Error of this program? #include #define CONDITION(x) printf("letsfindcourse"); int main() { CONDITION(0); return 0; }
Which statment is true about the given code ? #include enum colors {lets,find,course}; int main() { printf("%d %d %d",course,lets,find); return 0; }
What is the output of this program? #include int main() { printf("%d",30); return 0; }
What is the output of this program? #include #define p 17; int main() { printf("%d",p); return 0; }
What is the output of this program? #include #define clrscr() 17 int main() { clrscr(); printf("%d",clrscr()); return 0; }
What is the output for the following code snippet? #include #define A -B #define B -C #define C 5 int main() { printf("The value of A is %dn", A); return 0; }
What is the output of this program? #include #define i 5 int main() { #define i 10 printf("%d",i); return 0; }
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies