#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
1129#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
1155#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
1098#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
1259#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
1112#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
1023FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
1729What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
1157main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
1394Post New Wilco Interview Questions
What is sandbox?
Can enyone tell me what is the young generation and old genaration in GC ? how it will work?
Explain me what is important to effective market analysis?
What is the relationship between your b/c and view ?
What is nameof c#?
Define a context in the universe?
What kind of tools and materials are required to test water softening system of heating plant?
A 500 V shunt motor runs at its normal speed of 250rpm when the armature current is 200A. The resistance of the armature is 0.12 Ω. Calculate the speed when a resistance is inserted in the field reducing the shunt field to 80% of normal value and the armature current is 100A.
What type of language is java?
What is the main difference between inmon and kimball philosophies of data warehousing?
How do I open a spreadsheet?
Is angular difficult?
What is button tag?
assessee is a developer. menthod of accounting- mercantile. he sold a flat to party , registration has been done in financial year 2012-13. but he has taken the sale next financial year on the ground that one cheque has been credited in the next financial year. can the assessee's claim can be considered for taxation purpose
What do you mean by cascading?