Last active
April 15, 2021 10:34
-
-
Save btechmag/2578fdd5f7429b1c7b9b2ae5978ad41b to your computer and use it in GitHub Desktop.
Simple C program to reverse the given characters.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
main() | |
{ | |
char char1='X'; | |
char char2='M'; | |
char char3='L'; | |
printf("\n the reverse of %c%c%c is %c%c%c\n", char1,char2,char3,char3,char2,char1); | |
getch(); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment