Multiple Choice Questions in C

 

1.What would be the output of the following C program?


void main()

{

printf("Hai");

printf("hru");

getch();

}


A)Hai HRU

B)Haihru 

C)hai 

HRU

D)HAIHRU


Answer:



2.What would be the output of the following C program?


void main()

{

int s=528,r=65;

printf("%d%c",s,r);

getch();

}

A)528 a

B)a 528

C)528A

D)A528


Answer:


2 comments:

Thank you Very Much.For Given Comment

Downloading Talliki Vandhanam List

--> Citizens can know the status of Talliki Vandhanam Click Here -->Knowing the Status of Talliki Vandhanam   --> In GSWS NBM Login...