MCQOPTIONS
Bookmark
Saved Bookmarks
→
C Programming
→
Floating Point Issues
→
Comment on the following statement.
1.
Comment on the following statement.
A.
1, 3
B.
3, 1
C.
Depend on compiler
D.
3, 1num
E.
None of these
Answer» D. 3, 1num
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What will be the output of the following C code?#include <stdio.h> int main() { int t1 = 8, t2 = 9, t3; if (t3 = t1 = 4 || t2 > 10) printf("%d", t3); else printf("No Output n"); }
What will be the output of the following C code?#include <stdio.h> int main() { int p = -2, q = 5, r = 2, s; s = ++p && ++q || ++r; printf("%d, %d, %d, %d n", p, q, r, s); return 0; }
What will be the size of the following C structure?#include <stdio.h> struct test { int array[10]; char ch; };
What will be the output of the following C code?#include printf("%d", sizeof(strlen("InterviewMania")));
Which among the following is never possible in C when members in a structure are same as that in a union?//Let P be a structure//Let Q be a union
What will be the output of the following C code?#include <stdio.h> //(sizeof double = 10, float = 5, void = 4) #define PI 3.14 int main() { printf("%d", sizeof(PI)); }
What will be the output of the following C code?#include <stdio.h> main() { int N = 15; printf("Size of N is %d, ", sizeof(++N)); printf("Value of N is %d", N); };
Which among the following is never possible in C when members are different in a structure and union?//Let P be a structure//Let Q be a union
Which of the following is the correct output for the program given below?#include <stdio.h>int main ( ){ int a, b, c; a = b = c =1; printf ("a = %d b = %d c = %d n", ++a, b++, ++c); return 0;}
What will be the output of the following C code?#include <stdio.h> int main() { int num = 4, k = 1; do { num = num++; k++; } while (k != 4); printf("%d n", num); }
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply