Skip to content

Instantly share code, notes, and snippets.

@ThePratikSah
Created July 25, 2017 18:18
Show Gist options
  • Save ThePratikSah/7aead53abda5fee752a03b666f84947c to your computer and use it in GitHub Desktop.
Save ThePratikSah/7aead53abda5fee752a03b666f84947c to your computer and use it in GitHub Desktop.
#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