What will be the output of the following C code?
#include < stdio.h >
int main()
{
int i = 0;
for (;;;)
printf(“In for loop\n”);
printf(“After loop\n”);
}
a) Compile time error
b) Infinite loop
c) After loop
d) Undefined behaviour
Answer: a
Related Posts
The condition flag Z is set to 1 to indicate _______
When using Branching, the usual sequencing of the PC is altered. A new instruction is loaded which is called as ______
While using the iterative construct (Branching) in execution _____________ instruction is used to check the condition
The Instruction fetch phase ends with _________
The two phases of executing an instruction are __________
In a system, which has 32 registers the register id is __________ long.
The instruction, Add R1,R2,R3 in RTN is _______
Join The Discussion