a.Writeaprogram to enter 2 values,swapthevaluesstoredintwovariables. Andprintthevaluesbeforeswappingandafterswapping.
Answers
Answered by
1
Answer:
#include<conio.h>
#include<stdio.h>
main()
{
int a=4,b=6;
a=a+b;
b=a-b;
a=a-b;
printf("The no a=%d & b=%d",a,b);
getch();
}
/* Explanation:-
In the above program, first two variables a & b are declared and initialized.
values of a & b are added in the statement a=a+b.In the next statement b is subtracted from a and
result is stored in b.Finally,the value of a is obtained by subtracting b from a.
The printf() statement prints the value.*/
hope it's helpful for you
Answered by
5
Answer:
Explanation:
In linguistics, the grammar of a natural language is its set of structural constraints on speakers' or writers' composition of clauses, phrases, and words
Similar questions