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 enumerated data type in c?
How does sizeof know array size?
i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
What is a node in c?
how can we print hellow world programme without using semicolon
2. What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the next lower integer B)it returns the value rounded up to the next higher integer C)the Next Higher Value D)the next lower value
What does dm mean sexually?
What is Your Name :)
what is the difference between while and do while?
how to find sum of 5 digits in C?
hi send me sample aptitude papers of cts?