How Placement Success Book
(Hard Copy) Can Help Your Preparation?
Dear Reader, you can now prepare simultaneously for placement tests of several companies like TCS, Wipro, HCL, Infosys, CTS, Syntel, Mahindra Satyam, L&T Infotech, IBM, 3i Infotech, Accenture & other leading Indian companies...
Click To Know How Placement Success Book (Hard Copy)Can Help You...
1)void main()
{
int const * p=5;
printf("%d",++(*p));
}
a) Compiler Error
b) Linker Error
c) Runtime Error
Answer is compiler Error
2)main()
{
int i=3;
switch(i)
{
default:printf("zero");
case 1: printf("one");
break;
case 2:printf("two");
break;
case 3: printf("three");
break;
}
}
a) one
b) two
c) three
Answer is three
3)main()
{
printf("%x",-1<<4);
}
a) fffo
b) foff
c) ffof
Answer is fffo
4) main()
{
char string[]="Hello World";
display(string);
}
void display(char *string)
{
printf("%s",string);
}
a) Linker Error
b) Runtime Error
c) Compiler Error
Answer is compiler Error
Click Here To Know What Placement Success Book (Hard Copy) Contains & Know How To Order This Book