main()
{
int i;
printf("%d",i^i);
}



main() { int i; printf("%d",i^i); }..

Answer / naresh

output will be Zero as exclusive or'ing of two same no's result in zero

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Interview Questions

what is the difference between call by value and call by reference?

5 Answers   Genpact, Global Logic, Infosys,


How we can insert comments in a c program?

0 Answers  


Is c procedural or object oriented?

0 Answers  


How do I send escape sequences to control a terminal or other device?

0 Answers  


Write a program to print distinct words in an input along with their count in input in decreasing order of their count..

1 Answers  






What are the differences between Structures and Arrays?

0 Answers   TCS,


please explain every phase in the "SDLC" in the dotnet.

0 Answers  


What is #include cctype?

0 Answers  


in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?

4 Answers   Infosys, NetApp,


Why functions are used in c?

0 Answers  


how can i get output the following... 5 4 3 2 1 4 3 2 1 3 2 1 2 1 1 and 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 plz plz...

3 Answers  


What are the types of type specifiers?

0 Answers  


Categories