61. What will be the output of the following C code?
#define display(text) printf(#text "@")
main()
{
display(hello.);
display(good morning!);
}
#define display(text) printf(#text "@")
main()
{
display(hello.);
display(good morning!);
}
62. What will be the output of the following C code?
#include <stdio.h>
#define p( n ) printf( "t%%\n" #n " = %d", t##n )
int t3=10;
int main()
{
int x;
x=p(3);
}
#include <stdio.h>
#define p( n ) printf( "t%%\n" #n " = %d", t##n )
int t3=10;
int main()
{
int x;
x=p(3);
}
63. What will be the output of the following C code?
#include <stdio.h>
#define p( n,m ) printf( "%d", m##n )
#define q(a,b) printf("%d",a##b)
main()
{
p(3,4);
q(5,6);
}
#include <stdio.h>
#define p( n,m ) printf( "%d", m##n )
#define q(a,b) printf("%d",a##b)
main()
{
p(3,4);
q(5,6);
}
64. What will be the output of the following C code?
#include<stdio.h>
#define hello 10
void main()
{
printf("%d",hello);
#undef hello
printf("%d",hello);
}
#include<stdio.h>
#define hello 10
void main()
{
printf("%d",hello);
#undef hello
printf("%d",hello);
}
65. What will be the output of the following C code?
#include <stdio.h>
#define display( n ) printf( "a" #n " = %d", a##n )
int main()
{
display(3);
}
#include <stdio.h>
#define display( n ) printf( "a" #n " = %d", a##n )
int main()
{
display(3);
}
66. The preprocessor directive used to give additional information to the compiler, beyond which is conveyed in the language . . . . . . . .
67. Which of the following operators is used to concatenate two strings without space?
68. #pragma GCC poison should be followed by a list of identifiers that are . . . . . . . .
69. In the directive, #pragma pack(n), which of the following is not a valid value of n?
70. What will be the output of the following C code?
#include <stdio.h>
#define a 2
main()
{
int r;
#define a 5
r=a*2;
printf("%d",r);
}
#include <stdio.h>
#define a 2
main()
{
int r;
#define a 5
r=a*2;
printf("%d",r);
}