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
List some basic data types in c?
How can you find the exact size of a data type in c?
If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..
Explain the difference between #include "..." And #include <...> In c?
Who invented b language?
What is time complexity c?
What is the purpose of clrscr () printf () and getch ()?
Can a file other than a .h file be included with #include?
What is variable and explain rules to declare variable in c?
What is New modifiers?
Are there namespaces in c?
how should functions be apportioned among source files?
Explain what is wrong with this program statement? Void = 10;
write a program to find out prime number using sieve case?
Why is main function so important?