Cau u say the output....?



Cau u say the output....?..

Answer / pranav

void main()
{
int i=1;
printf("%d %d %d",i++,++i,i++);
}

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Code Interview Questions

int a = 10 + 10 .... ,... A = A * A What would be the value of A? The answer is 120!! Could anyone explain this to me.

2 Answers   Bosch, eInfochips, HCL, IHCL,


What is data _null_? ,Explain with code when u need to use it in data step programming ?

0 Answers   Abbott,


main() { extern int i; i=20; printf("%d",i); }

1 Answers   Value Labs,


#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); }

1 Answers  


main() { int i=5; printf("%d%d%d%d%d%d",i++,i--,++i,--i,i); }

7 Answers  






main() { signed int bit=512, i=5; for(;i;i--) { printf("%d\n", bit = (bit >> (i - (i -1)))); } } a. 512, 256, 128, 64, 32 b. 256, 128, 64, 32, 16 c. 128, 64, 32, 16, 8 d. 64, 32, 16, 8, 4

2 Answers   HCL,


What is the main difference between STRUCTURE and UNION?

13 Answers   HCL,


#define a 10 void foo() { #undef a #define a 50 } int main() { printf("%d..",a); foo(); printf("%d..",a); return 0; } explain the answer

1 Answers  


main() { main(); }

1 Answers  


#define f(g,g2) g##g2 main() { int var12=100; printf("%d",f(var,12)); }

3 Answers  


Is the following code legal? typedef struct a { int x; aType *b; }aType

1 Answers  


write the function. if all the character in string B appear in string A, return true, otherwise return false.

11 Answers   Google,


Categories