Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- sprintf
- malloc
- realloc
- strlen
- strcpy
- strcat
- isalpha
- */
- #include <stdio.h>
- #include <stdlib.h>
- int n = 71;
- ////////////////////////////////////////////////////
- int main() //
- {
- int *pn = (int*)malloc(sizeof(int));
- *pn = 623;
- printf("*pn = %d\n", *pn);
- printf(" pn = %d\n", pn);
- free(pn);
- pn = &n;
- printf(" - - - - - - \n");
- printf("*pn = %d\n", *pn);
- printf(" pn = %d\n", pn);
- }
- /*
- #include <stdio.h>
- void info(const char *psz);
- ////////////////////////////////////////////////////
- int main() //
- {
- info("Vera Buraya");
- }
- ////////////////////////////////////////////////////
- void info(const char *psz)
- {
- printf("Course work for option %s, created by %s.\n", "4.3", psz);
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement