MCQOPTIONS
Bookmark
Saved Bookmarks
→
C Programming
→
Floating Point Issues
→
com
1.
com
A.
Sanfoundry.com\0training classes
B.
Sanfoundry.comtraining classes
C.
Invalid declaration
Answer» C. Invalid declaration
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What will be the output of the following C code?#include <stdio.h> void main() { int const m = 10; m++; printf("m is %d", m); }
What will be the output of the following C code?#include <stdio.h> int const Result() { printf("interviewmania.com"); return 0; } void main() { Result(); }
What will be the output of the following program:- #include int main() { const int a=34; int b=128; a = b; printf("%d n",a); return 0; }
What will be the output of the following C code?#include <stdio.h> void main() { int n = 21; int *const m = &n; int s = 12; m = &s; printf("%d", m); }
What will be the output of the following C code?#include <stdio.h> int main() { const int n; n = 12; printf("n is %d", n); return 0; }
What will be the output of the following C code?#include <stdio.h> #define MAX 3 enum car {AstonMartin = MAX + 1, Audi = AstonMartin + MAX}; int main() { enum car c = Audi; printf("%d n", c); return 0; }
What will be the output of the following C function?#include <stdio.h> enum car {AstonMartin, Audi, Chevrolet, Ferrari}; enum color {Yellow = 5, Green, RedBlue, Blue}; int main() { enum car c = Yellow; int i; i = c; printf("%d n", i); return 0; }
What will be the output of the following C code? #include <stdio.h> int main() { int n = 020; printf("%d", n); }
What will be the output of the following C code?#include <stdio.h> #define num 12 int main() { const int num = 10; printf("num = %d n", num); }
In the following code snippet, character pointer str holds a reference to the string ___________.char *s = "interviewmania.com 0" "c programming";
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