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
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
How can you determine the size of an allocated portion of memory?
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
Why is c called a mid-level programming language?
Describe the modifier in c?
Hi can anyone tell what is a start up code?
write a proram to reverse the string using switch case?
Why c is a mother language?
What is meant by realloc()?
What are the 4 types of organizational structures?
What is pass by reference in c?
How can I do peek and poke in c?
Are local variables initialized to zero by default in c?
What does a pointer variable always consist of?
How will you declare an array of three function pointers where each function receives two ints and returns a float?