main()
{
int i=400,j=300;
printf("%d..%d");
}
Answers were Sorted based on User's Feedback
Answer / susie
Answer :
400..300
Explanation:
printf takes the values of the first two assignments of the
program. Any number of printf's may be given. All of them
take only the first two values. If more number of
assignments given in the program,then printf will take
garbage values.
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / kanth
Answer:
garbage value..garbage value.
explanation: Here we are not giving any variables to print
statement, hence it prints two garbage values.
| Is This Answer Correct ? | 1 Yes | 1 No |
What is the output for the following program main() { int arr2D[3][3]; printf("%d\n", ((arr2D==* arr2D)&&(* arr2D == arr2D[0])) ); }
#define FALSE -1 #define TRUE 1 #define NULL 0 main() { if(NULL) puts("NULL"); else if(FALSE) puts("TRUE"); else puts("FALSE"); }
main() { printf("%x",-1<<4); }
how to concatenate the two strings
main() { void swap(); int x=10,y=8; swap(&x,&y); printf("x=%d y=%d",x,y); } void swap(int *a, int *b) { *a ^= *b, *b ^= *a, *a ^= *b; }
main() { int i=0; for(;i++;printf("%d",i)) ; printf("%d",i); }
main() { char a[4]="HELL"; printf("%s",a); }
create a C-code that will display the total fare of a passenger of a taxi if the driver press enter,the timer will stop. Every 10 counts is 2 pesos. Initial value is 25.00
main() { main(); }
main() { static int var = 5; printf("%d ",var--); if(var) main(); }
Is the following statement a declaration/definition. Find what does it mean? int (*x)[10];
main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }