A Program two location interchange its contents.
1 2 3 4 5 6 7 8 9 10 | #include<stdio.h> int main() { int a,b; printf("Enter a value of a="); scanf("%d",&a); printf("\nEnter value of b="); scanf("%d",&b); printf("\n a=%d\nb=%d",b,a); } |
A blog about programming languages and this Blog specially Create for learning languages like C language,C++ Language, Data Structure and Algorithm.
1 2 3 4 5 6 7 8 9 10 | #include<stdio.h> int main() { int a,b; printf("Enter a value of a="); scanf("%d",&a); printf("\nEnter value of b="); scanf("%d",&b); printf("\n a=%d\nb=%d",b,a); } |
Post a Comment