write a program to interchange the value between two variable
without using loop
Answer / mudita rathore
#include<stdio.h>
void main()
{
int a,b,temp;
printf("enter value of a=");
scanf("%d",&a);
printf("enter the value of b=");
scanf("%d",&b);
temp=a;
a=b;
b=temp;
printf("a=%d b=%d",a,b);
}
| Is This Answer Correct ? | 5 Yes | 3 No |
what is the structure pointer?
When should I declare a function?
5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.
What is a structure and why it is used?
What is the difference between File pointer and Internal Charecter Pointer?
What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.
i have a written test in tomorrow
how to implement stack work as a queue?
write C code to reverse a string such that if i/p is "abc defg hij klmno pqrs tuv wxyz" and the o/p should be "cba gfed jih onmlk srqp vut zyxw"
Explain About fork()?
What is extern variable in c with example?
implement general tree using link list