4. Main()
{
Int i=3,j=2,c=0,m;
m=i&&j||c&I;
printf(“%d%d%d%d”,I,j,c,m);
}

Answers were Sorted based on User's Feedback



4. Main() { Int i=3,j=2,c=0,m; m=i&&j||c&I; printf(“%d%d%d%d”,I,..

Answer / xxx

compilation error at the line number 4.

Is This Answer Correct ?    16 Yes 2 No

4. Main() { Int i=3,j=2,c=0,m; m=i&&j||c&I; printf(“%d%d%d%d”,I,..

Answer / sironmnai

1,2,0,1

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More C Code Interview Questions

main() { int i = 3; for (;i++=0;) printf(ā€œ%dā€,i); }

1 Answers   CSC,


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

3 Answers  


Sir... please give some important coding questions asked by product companies..

0 Answers  


how to delete an element in an array

2 Answers   IBM,


main(int argc, char *argv[]) { (main && argc) ? main(argc-1, NULL) : return 0; } a. Runtime error. b. Compile error. Illegal syntax c. Gets into Infinite loop d. None of the above

4 Answers   HCL, LG,






why is printf("%d %d %d",i++,--i,i--);

4 Answers   Apple, Cynity, TCS,


main() { int i =0;j=0; if(i && j++) printf("%d..%d",i++,j); printf("%d..%d,i,j); }

1 Answers  


write a origram swaoing valu without 3rd variable

2 Answers  


write a simple calculator c program to perform addition, subtraction, mul and div.

0 Answers   United Healthcare, Virtusa,


How we print the table of 2 using for loop in c programing?

14 Answers   HCL, Wipro,


main() { int i; i = abc(); printf("%d",i); } abc() { _AX = 1000; }

2 Answers  


Write a function to find the depth of a binary tree.

13 Answers   Adobe, Amazon, EFI, Imagination Technologies,


Categories