#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); }
1210#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); }
1236#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); }
1166#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); }
1323#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
1177#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); }
1098FILE *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.
1809What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
1222main() { 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); }
1509Post New Wilco Interview Questions
What is dynamic dispatch in c++?
Give details of your interested designation, the post you are interested to serve the company better and explain why you think you can serve the company better in such position if employed?
What is activatedroutesnapshot in angular 2?
kindly mail me by attaching files , formats for quality checks of common building materials like cement , concrete , bricks , sand and aggregates plz send my email id- VMANDAL91@gmail.com
What is difference between spring boot and spring mvc? : Spring Boot
What is the alternative method to a gui installation in linux?
Why Water motor is not taking a load or pressure while everything is correct. (Note: Motor running properly)
How security is concerned with Reportnet? Explain its implementing steps.
Give 2 examples for scenarios when routing is not applied?
any body who gone thru recent iocl interview.INSTRUMENTATION questions. I need.
Why Utility Distribution System in India is mainly at 11 kV? Why not Utility go for 33 kV?
What situations might be viewed as ethical uses of human cloning? Are you doubtful, fearful, or hopeful about human cloning?
What do you understand by the term marketing?
What is the test scenario to test a database migrated from one sql server to another?
what are the weakness of symmetric key cryptography and what is the strength of the asymmetric key cryptography?