Skip to main content

Write a C program to print the following characters in a reverse way.

yX Media - Monetize your website traffic with usWrite a C program to print the following characters in a reverse way.


#include<stdio.h>
int main()
{
    char i, j, k;
    printf("Enter the three character which have to reverse: ");
    scanf("%c %c %c", &i, &j, &k);
    printf("The reverse of %c%c%c is %c%c%c",i,j,k,k,j,i);
    return 0; https://vdbaa.com/fullpage.php?section=General&pub=899148&ga=g
}

Comments