C Program to Print String using Pointer

In this tutorial, i am going to show you how to write and print string using pointer in c. C Program to Print String using Pointer #include <stdio.h> int main() { char str[100]; char *p; printf(“Enter any string: “); fgets(str, 100, stdin); /* Assigning the base address str[0] to pointer * p. p = str … Read more