In this C program, We will show “How to print a string character-wise ” . So, let’s do it …
#include<stdio.h>
int main()
{
char A[30] = "Nazmul Hasan";
int i=0;
while(A[i] != '\0')
{
printf("%c\n",A[i]);
i++;
}
return 0;
}
Keep Learning with PrologiCode.