C program to print character by character vertically

 #include<stdio.h>

int main()

{

    char name[30];

    int i;

    printf("\n Enter your name :  ");

    scanf("%s",name);

    for (i=0;name[i]!='\0';i++)

        printf("\n%c",name[i]);

}

Comments

Popular posts from this blog

Single Program Using All Automatic String Functions

C program for subtraction of two matrices (2D Arrays)

C program for Multiplication of Two matrices