MCQOPTIONS
Bookmark
Saved Bookmarks
→
C Programming
→
Floating Point Issues in C Programming
→
PEACH = 3..
1.
PEACH = 3
A.
PEACH = 4
B.
PEACH = 5
C.
PEACH = 6
Answer» D.
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What will be the output of the following C code?<br><pre class="prettyprint lang-c">#include <stdio.h><br> void main()<br> {<br> int const m = 10;<br> m++;<br> printf("m is %d", m);<br> }<br></pre>
What will be the output of the following C code?<br><pre class="prettyprint lang-c">#include <stdio.h><br> int const Result()<br> {<br> printf("interviewmania.com");<br> return 0;<br> }<br> void main()<br> {<br> Result();<br> }<br></pre>
What will be the output of the following program:- <pre> #include<stdio.h> int main() { const int a=34; int b=128; a = b; printf("%d n",a); return 0; } </stdio.h></pre>
What will be the output of the following C code?<br><pre class="prettyprint lang-c">#include <stdio.h><br> void main()<br> {<br> int n = 21;<br> int *const m = &n;<br> int s = 12;<br> m = &s;<br> printf("%d", m);<br> }<br></pre>
What will be the output of the following C code?<br><pre class="prettyprint lang-c">#include <stdio.h><br> int main()<br> {<br> const int n;<br> n = 12;<br> printf("n is %d", n);<br> return 0;<br> }<br></pre>
What will be the output of the following C code?<br><pre class="prettyprint lang-c">#include <stdio.h><br> #define MAX 3<br> enum car {AstonMartin = MAX + 1, Audi = AstonMartin + MAX};<br> int main()<br> {<br> enum car c = Audi;<br> printf("%d n", c);<br> return 0;<br> }<br></pre>
What will be the output of the following C function?<br><pre class="prettyprint lang-c">#include <stdio.h><br> enum car {AstonMartin, Audi, Chevrolet, Ferrari};<br> enum color {Yellow = 5, Green, RedBlue, Blue};<br> int main()<br> {<br> enum car c = Yellow;<br> int i;<br> i = c;<br> printf("%d n", i);<br> return 0;<br> }<br></pre>
What will be the output of the following C code?<br><pre class="prettyprint lang-c"> #include <stdio.h><br> int main()<br> {<br> int n = 020;<br> printf("%d", n);<br> }<br></pre>
What will be the output of the following C code?<br><pre class="prettyprint lang-c">#include <stdio.h><br> #define num 12<br> int main()<br> {<br> const int num = 10;<br> printf("num = %d n", num);<br> }<br></pre>
In the following code snippet, character pointer str holds a reference to the string ___________.<br><pre class="prettyprint lang-c">char *s = "interviewmania.com 0" "c programming";<br></pre>
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply