void main()
{
int x,y=2,z;
z=(z*=2)+(x=y=z);
printf("%d",z);
}
Answers were Sorted based on User's Feedback
Answer / sanjay bk
8400,8521, when you run program then program giving output is different different answer.
Is This Answer Correct ? | 2 Yes | 2 No |
main() { char a[4]="HELL"; printf("%s",a); }
#include<stdio.h> main() { int i=1,j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; } }
How to swap two variables, without using third variable ?
104 Answers AB, ADP, BirlaSoft, Cisco, Cygnet Infotech, HCL, Hewitt, Honeywell, HP, IBM, Infosys, Manhattan, Microsoft, Mobius, Percept, Satyam, SofTMware, TCS, Wipro, Yamaha,
could you please send the program code for multiplying sparse matrix in c????
#include<stdio.h> main() { struct xx { int x; struct yy { char s; struct xx *p; }; struct yy *q; }; }
how to print 1 2 3 4 5 6 7 8 9 10 9 8 7 6 5 4 3 2 1 using any loop(for or while) only once(only 1 loop) and maximum 2 variables using C.
19 Answers Cap Gemini, Infosys,
What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql
How we will connect multiple client ? (without using fork,thread)
main() { printf("%x",-1<<4); }
Is the following code legal? void main() { typedef struct a aType; aType someVariable; struct a { int x; aType *b; }; }
main() { int c[ ]={2.8,3.4,4,6.7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf(" %d ",*c); ++q; } for(j=0;j<5;j++){ printf(" %d ",*p); ++p; } }
write a program in c to merge two array