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 |
void main() { int c; c=printf("Hello world"); printf("\n%d",c); }
Is the following statement a declaration/definition. Find what does it mean? int (*x)[10];
How to count a sum, when the numbers are read from stdin and stored into a structure?
main() { char *p; int *q; long *r; p=q=r=0; p++; q++; r++; printf("%p...%p...%p",p,q,r); }
Program to Delete an element from a doubly linked list.
4 Answers College School Exams Tests, Infosys,
#include<stdio.h> main() { struct xx { int x=3; char name[]="hello"; }; struct xx *s; printf("%d",s->x); printf("%s",s->name); }
Predict the Output: int main() { int *p=(int *)2000; scanf("%d",2000); printf("%d",*p); return 0; } if input is 20 ,what will be print
How can i find first 5 natural Numbers without using any loop in c language????????
main() { extern int i; { int i=20; { const volatile unsigned i=30; printf("%d",i); } printf("%d",i); } printf("%d",i); } int i;
There is a lucky draw held every day. if there is a winning number eg 1876,then all possible numbers like 1867,1687,1768 etc are the numbers that match irrespective of the position of the digit. Thus all these numbers qualify fr the lucky draw prize Assume there is no zero digit in any numbers. write a program to show all the possible winning numbers if a "winning number"is passed as an arguments to the function.
C program to print magic square of order n where n > 3 and n is odd
main() { float i=1.5; switch(i) { case 1: printf("1"); case 2: printf("2"); default : printf("0"); } }