#include<stdio.h>
#include<conio.h>
# define swap(a,b) temp=a; a=b; b=temp;
void main( )
{
int i, j, temp;
i=5;
j=10;
temp=0;
if( i > j)
swap( i, j );
printf( "%d %d %d", i, j, temp);
}
Answer Posted / kumaravel
chance of providing answer is not possible. empty screen become view.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you use a pointer to a function?
What are the basic data types associated with c?
How can I delete a file?
which is an algorithm for sorting in a growing Lexicographic order
Describe explain how arrays can be passed to a user defined function
When should the register modifier be used? Does it really help?
Explain how do I determine whether a character is numeric, alphabetic, and so on?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
can we implement multi-threads in c.
What is volatile keyword in c?
Differentiate between declaring a variable and defining a variable?
Difference between malloc() and calloc() function?
Explain what are the different file extensions involved when programming in c?
What is c definition?
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.