Created
February 25, 2016 18:44
-
-
Save mvidalgarcia/32836a8093a65a4b9898 to your computer and use it in GitHub Desktop.
This file contains 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> | |
#include <string.h> | |
void func(char *str) | |
{ | |
char buffer[100]; /* adjust size of buffer to suit */ | |
strcpy (buffer,str); | |
} | |
void main (int argc, char *argv[]) | |
{ | |
func(argv[1]); | |
printf("%s\n", "Executed Normally"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment