C program to print a string character by character using pointer
In this C program, we are going to learn how to read and print (character by character) a string using pointer?
Here, we have two variables, str is a string variable and ptr is a character pointer, that will point to the string variable str.
Consider the program
Output
need an explanation for this answer? contact us directly to get an explanation for this answer