Answer Posted / suresh
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
d=0;
printf("enter a");
scanf("%d",&a);
printf("enter b");
scanf("%d",&b);
c=a;
a=b;
b=c;
printf("a & b value are%d%d",a,b);
getch();
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What happens if a header file is included twice?
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
Why is sprintf unsafe?
What are conditional operators in C?
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
What are 3 types of structures?
How do c compilers work?
What is the purpose of & in scanf?
What is the Purpose of 'extern' keyword in a function declaration?
Why is struct padding needed?
Write a program to print "hello world" without using a semicolon?
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
Why c language is called c?
What does %c mean in c?
Is stack a keyword in c?