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 printf () in c?
What is a Deque?
what is the difference between #include<> and #include”…”?
What is the modulus operator?
errors in computer programmes are called
praagnovation
matrix multiplication fails introspect the causes for its failure and write down the possible reasons for its failurein c language.
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
WRITE A PROGRAM TO PRINT THE FOLLOWING OUTPUTS USING FOR LOOPS. A) * B) ***** *** * * ***** * * *****
What does it mean when a pointer is used in an if statement?
What is the advantage of a random access file?
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....