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 |
void main() { unsigned giveit=-1; int gotit; printf("%u ",++giveit); printf("%u \n",gotit=--giveit); }
#define max 5 #define int arr1[max] main() { typedef char arr2[max]; arr1 list={0,1,2,3,4}; arr2 name="name"; printf("%d %s",list[0],name); }
how to return a multiple value from a function?
write a program to Insert in a sorted list
main() { int i; printf("%d",scanf("%d",&i)); // value 10 is given as input here }
Write a single line c expression to delete a,b,c from aabbcc
writte a c-programm to display smill paces
main() { float i=1.5; switch(i) { case 1: printf("1"); case 2: printf("2"); default : printf("0"); } }
main() { char not; not=!2; printf("%d",not); }
main() { printf("%d, %d", sizeof('c'), sizeof(100)); } a. 2, 2 b. 2, 100 c. 4, 100 d. 4, 4
18 Answers HCL, IBM, Infosys, LG Soft, Satyam,
main() { clrscr(); } clrscr();
why nlogn is the lower limit of any sort algorithm?