Created
July 25, 2017 18:18
-
-
Save ThePratikSah/7aead53abda5fee752a03b666f84947c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(){ | |
char name[] = "Hello"; | |
char *ptr; | |
ptr = name; | |
while(*ptr != '\0'){ | |
printf("%c", *ptr); | |
ptr++; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment