What will be the output of the following C code? #include < stdio.h >
View Question
What will be the output of the following C code?
#include < stdio.h >
void foo();
int main()
{
void foo(int);
foo();
return 0;
}
void foo()
{
printf(“2 “);
}
What will be the output of the following C code? #include < stdio.h >
View Question
What will be the output of the following C code?
#include < stdio.h >
void foo();
int main()
{
void foo(int);
foo(1);
return 0;
}
void foo(int i)
{
printf(“2 “);
}
What will be the output of the following C code? #include < stdio.h >
View Question
What will be the output of the following C code?
#include < stdio.h >
void foo();
int main()
{
void foo();
foo();
return 0;
}
void foo()
{
printf(“2 “);
}
What will be the output of the following C code? #include < stdio.h >
View Question
What will be the output of the following C code?
#include < stdio.h >
int main()
{
void foo();
void f()
{
foo();
}
f();
}
void foo()
{
printf(“2 “);
}
What will be the output of the following C code? #include < stdio.h >
View Question
What will be the output of the following C code?
#include < stdio.h >
int main()
{
void foo(), f();
f();
}
void foo()
{
printf(“2 “);
}
void f()
{
printf(“1 “);
foo();
}
What will be the output of the following C code? #include < stdio.h >
View Question
What will be the output of the following C code?
#include < stdio.h >
int main()
{
void foo();
printf(“1 “);
foo();
}
void foo()
{
printf(“2 “);
}
What will be the output of the following C code? #include < stdio.h >
View Question
What will be the output of the following C code?
#include < stdio.h >
void main()
{
int i = 0, k;
label: printf(“%d”, i);
if (i == 0)
goto label;
}
What will be the output of the following C code? #include < stdio.h ...
View Question
What will be the output of the following C code?
#include < stdio.h >
void main()
{
int i = 0, k;
if (i == 0)
goto label;
for (k = 0;k < 3; k++)
{
printf(“hi\n”);
label: k = printf(“%03d”, i);
}
}
What will be the output of the following C code? #include < stdio.h >
View Question
What will be the output of the following C code?
#include < stdio.h >
void main()
{
int i = 0;
if (i == 0)
{
goto label;
}
label: printf(“Hello”);
}
What will be the output of the following C code? #include < stdio.h >
View Question