निम्नलिखित कोड का आउटपुट क्या होगा?<break-line><break-line>What will be the output of the following code?<break-line><pre><code>int main(){
int i = 25;
int k = i % 4;
printf("%d\n", k);
}</code></pre>
निम्नलिखित कोड का आउटपुट क्या होगा?<break-line><break-line>What will be the output of the following code?<break-line><pre><code>void main() {
int x = 5*6/2 + 8;
printf("%d", x);
return 0;
}</code></pre>
निम्नलिखित कोड का आउटपुट क्या होगा?<break-line><break-line>What will be the output of the following code?<break-line><pre><code>int main() {
int a = 5;
while(a = 123) {
printf("RABBIT\n");
}
printf("GREEN");
return 0;
}</code></pre>
Correct Answer: RABBIT is printed unlimited number of times
Q4.
निम्नलिखित कोड का आउटपुट क्या होगा?<break-line><break-line>What will be the output of the following piece of code?<break-line><pre><code>#include<stdio.h>
int main() {
int i;
for(i = 0; i < 8; i++);
printf("%d", i);
return 0;
}</code></pre>