![]() Related Questions Which of the following is invalid
A. class
B. class
C. Both A and B
D. none Latest Answer : The compiler will give an error "undefined symbol I". ... Latest Answer : Hello..I feel the answer is that this will not work.f is undefined.printf statement should be rectified.c ya. ... Main()
{
printf("%c","abcdef"[4]);
}
what is the output?
A. abcdef
B. d
C. e
D. ERROR Main()
{ char dummy[20]; scanf("%[^a]",dummy);
printf("%s", dummy); }
What will it do?
A. ERROR
B. take characters till ctrl z is pressed
C. take up to 19 characters
D. none of these What is the output of the following code?
int main ()
{
int i = -1 ; j = 1 , k = 0 , m ;
m = i++ || j++ && k++ ;
printf ("nn%d %d %d " , i , j , k , m ) ;
} Latest Answer : Answer is Cbecause IO devices have IO buffer. It will buffer the data before it does IO action. ... Main()
{
i=10;
printf("%d",++i++);
printf("%d",++i);
}
A. 11 and 13
B. 12 and 13
C. error
D. Both A and B Main()
{
int a[]={0 1 2 3};
int *b;
b=&a[2];
printf("%d",b[-1]);
}
TECHNICAL INTERVIEW What is the output of the program?
main()
{
char a='123'
printf ("%c n",a);
return 0;
}
A. ASCII value of 121
B. 1
C. 3
D. none of these
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||