Programming in C - I/O Operations

46. Printf("%d"printf("tim"));

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


47. If abc is the input, then folloiwng program fragment
char x,y,z;
printf("%d",scanf("%c%c%c",&x,&y,&z));
results in

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


48. What does the statement,
printf("%d",10?0?5:1:12);
prints :

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


49. Result of the execution of the following "C" program fragment is
int i= 107,x =5;
printf((x>7)?"%d";"%c";i))

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


50. Find the output of the following : for (i=1,j=10;i

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *