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

WRITE A C PROGRAM FOR PRINT "RHOMBUS" STRUCTURE . Example: Enter the numbers :3 * * * * * * * *

3 Answers   Infosys, TCS,


What is 02d in c?

0 Answers  


What is a shell structure examples?

0 Answers  


Lists the benefits of c programming language?

0 Answers  


write a program to print largest number of each row of a 2D array

0 Answers  


why programs in c are running with out #include<stdio.h>? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

0 Answers  


1.)how to find d most repeated word in a string? string ="how do you do"?? output should be do

1 Answers   AAS, Nagarro, Vuram,


input any 4 digit number and find the difference of all the digits?

3 Answers   Google,


Sir i need notes for structure,functions,pointers in c language can you help me please

0 Answers   TCS,


Tell me a C program to display the following Output? 1 1 1 1 1 2 2 2 2 3 3 3 4 4 5

3 Answers  


how to generate sparse matrix in c

3 Answers  


What are header files in c?

0 Answers  


Categories