#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); }
1161#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); }
1193#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); }
1128#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); }
1289#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
1142#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); }
1063FILE *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.
1761What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
1192main() { 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); }
1451Post New Wilco Interview Questions
what is data integration? : Sas-di
How Would You Save Your Applications, Softwares And Drivers For A Long Term Without Using Any Magnetic Disk?
What is sqldatareader c#?
Search for: how can I convert figures into words in excel?
What is the default excel font?
Hi, Anybody knows about Hexaware company..
Why do we use semaphore?
Dear Sir, I am Shariq Sami. I joined BHEL as a Supervisor Trainee in May 2009 on diploma basis, right now i am an assistant Engineer and posted at Noida. I have completed my bachelor of engineering from Jamia Millia Islami, New Delhi.I am Planning to appear for "BHEL ET" exam this year. I want to know,is there any previous year question papers will be available like we have for GATE exams or you feel it is no need? Can you please guide me? Kind Ragards M.S Sami, Contact No. 9891090742, 9250250988, 0120-2545796
What is the use of runworkasync() methods?
What is autograft?
why require to do water content for drug product?
Write a program to display a table of any given number?
What port does postgres use?
What should be in a header?
Difference between GET and POST?