plz answer....A program that takes 3 variables e.g a,b,c in
as seperate parameters and rotates the values stored so
that value goes a to b, b to c and c to a .
Answer Posted / venkatesh sabinkar
void main()
{
int a,b,c,t;
clrscr();
printf("enter the values of a, b and c");
scanf("%d%d%d",&a,&b,&c);
t=a;
a=b;
b=c;
c=t;
printf("a=%d,b=%d,c=%d",a,b,c);
getch();
}
| Is This Answer Correct ? | 9 Yes | 7 No |
Post New Answer View All Answers
Explain what are the advantages and disadvantages of a heap?
Is the exit() function same as the return statement? Explain.
What are the 3 types of structures?
Do you know the use of fflush() function?
how to create duplicate link list using C???
what is uses of .net
How many identifiers are there in c?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
Stimulate calculator using Switch-case-default statement for two numbers
What are identifiers c?
What is header file definition?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
What is a shell structure examples?
Write a program with dynamically allocation of variable.
What is derived datatype in c?