swap 2 numbers without using third variable?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Why does everyone say not to use scanf? What should I use instead?

0 Answers  


Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.

0 Answers   Expedia,


Explain the concept and use of type void.

0 Answers  


Explain how can I write functions that take a variable number of arguments?

0 Answers  


What are the uses of pre-processor directives?

2 Answers  






main() { int age; float ht; printf("Enter height and age"); scanf("%d%d",&height,&age); if((age<=20)&&(ht>=5)) {printf("She loves you");} else {printf("She loves you");} }

2 Answers  


What will be the result of the following C language program? main() { int a = 0; int b = 20; char x = 1; char y = 10; if(a,b,x,y) printf("Welcome"); }

1 Answers  


What is the purpose of 'register' keyword?

0 Answers  


This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory

0 Answers  


write a string copy function routine?

2 Answers  


What is the difference between c and python?

0 Answers  


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

0 Answers   Aspire, Infogain,


Categories