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

HOW CAN ADD OUR FUNCTION IN LIBRARY.

5 Answers  


What is the output for the below program? void main() { float me=1.1; double you=1.1; if(me==you) printf("love c"); else printf("know c"); }

7 Answers  


When is an interface "good"?

1 Answers  


wat is the meaning of c?

9 Answers   CTS, IBM, Wipro,


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

1 Answers   CMS,






Where can I get an ansi-compatible lint?

0 Answers  


Is c is a middle level language?

0 Answers  


What is bash c?

0 Answers  


What is the output of the following program main();{printf ("chennai""superkings"}; a. Chennai b. superkings c. error d. Chennai superkings

6 Answers  


what is the other ways to find a logic to print whether a number is an even or odd wit out using % symbol??????? i know three different ways to print it. so i need any other different logic>>>>>

5 Answers   TCS,


Write an algorithm for a program that receives an integer as input and outputs the product of of its digits. E.g. 1234 = 24, 705 = 0

4 Answers  


what is function pointer?

2 Answers   Wipro,


Categories