#include <stdio.h> int main() { char str[]="GOOD MORNING"; int i; for(i=0;str[i]!='\0';i++) { printf("%c",str[i]); } printf("\nNo of element %d",i); return 0; }
To embed this program on your website, copy the following code and paste it into your website's HTML: