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 f();
int main()
{
#define foo(x, y) x / y + x
f();
}
void f()
{
printf(“%d\n”, foo(-3, 3));
}
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 >
#define foo(x, y) x / y + x
int main()
{
int i = -6, j = 3;
printf(“%d\n”,foo(i + j, 3));
return 0;
}
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 >
#define foo(x, y) #x #y
int main()
{
printf(“%s\n”, foo(k, l));
return 0;
}
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 >
#define foo(m, n) ” m ## n “
int main()
{
printf(“%s\n”, foo(k, l));
}
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 >
#define foo(m, n) m ## n
int main()
{
printf(“%s\n”, foo(k, l));
}
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 >
#define foo(m, n) m ## n
void myfunc();
int main()
{
myfunc();
}
void myfunc()
{
printf(“%d\n”, foo(2, 3));
}
What will be the output of the following C code? #include < stdio.h >
View Question
Comment on the output of the following C code.
#include < stdio.h >
#include “test.h”
#include “test.h”
int main()
{
//some code
}
Comment on the output of the following C code. #include < stdio.h > ...
View QuestionCan function definition be present in header files?
a) yes b) no c) Depends on the compiler d) Depends on the standard Answer: a
View QuestionHow is search done in #include and #include”somelibrary.h” normally or conventionally?
a) When former is used, current directory is searched and when latter is used, standard directory is ...
View Question