Create a simple code fragment that will swap the values of two variables num1 and num2.


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

Post New Answer

More C Interview Questions

f(x,y,z) { y = y+1; z = z+x; } main() { int a,b; a = 2 b = 2; f(a+b,a,a); print a; } what is the value of 'a' printed

5 Answers  


How can a program be made to print the name of a source file where an error occurs?

0 Answers  


What is the real difference between arrays and pointers?

27 Answers   Hexaware, Logic Pro, TCS,


How can you restore a redirected standard stream?

0 Answers  


What is a lookup table in c?

0 Answers  






Program to swap the any two elements in an array containing N number of elements?

1 Answers   Bosch, Glenwood, Ugam Solutions,


Write a Program to print this triangle: * ** * **** * ****** * ******** * ********** use two nested loops.

12 Answers   MIT, TCS,


who will call your main function in c under linux?

2 Answers  


What is the difference b/w Structure & Array?

6 Answers  


write a c programs to do multiplication of two numbers with out using arithmatic operator ??????????

7 Answers   Infosys, TCS,


What is the code for 3 questions and answer check in VisualBasic.Net?

0 Answers   Infosys,


How can I send mail from within a c program?

0 Answers  


Categories