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 are the interview question's in the language c

2 Answers   Nipuna,


write a program to find the frequency of a number

4 Answers   Infosys,


How many levels of pointers have?

0 Answers  


Explain what are preprocessor directives?

0 Answers  


What is uint8 in c?

0 Answers  






Why c is called object oriented language?

0 Answers  


what is dangling pointer?

1 Answers   LG Soft,


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

0 Answers   Genpact,


52.write a “Hello World” program in “c” without using a semicolon? 53.Give a method to count the number of ones in a 32 bit number? 54.write a program that print itself even if the source file is deleted? 55.Given an unsigned integer, find if the number is power of 2?

9 Answers  


what does exit() do?

3 Answers   Cadence,


Is there anything like an ifdef for typedefs?

0 Answers  


Describe the header file and its usage in c programming?

0 Answers  


Categories