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

What is the main differences between C and Embedded C?

9 Answers  


Why doesn't the code "int a = 1000, b = 1000; long int c = a * b;" work?

7 Answers  


What is true about the following C Functions a.Need not return any value b.Should always return an integer c.Should always return a float d.Should always return more than one value.

11 Answers   TCS,


What does %2f mean in c?

0 Answers  


What is array of structure in c programming?

0 Answers  






Why isnt there a numbered, multi-level break statement to break out

0 Answers  


difference between ordinary variable and pointer in C?

2 Answers  


Write a program that accept anumber in words

0 Answers  


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

0 Answers  


What are register variables in c?

0 Answers  


Can you think of a way when a program crashed before reaching main? If yes how?

2 Answers  


print ur name 20,000 times without using inbuilt library functions like printf,scanf,gets,puts,getchar or putchar

4 Answers   IBM,


Categories