Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- void first(const char *p1, const char *p2);
- ///////////////////////////////////////////////////////////////
- int main()
- {
- first("4.3", "Vera Buraya");
- }
- ///////////////////////////////////////////////////////////////
- void first(const char *p1, const char *p2)
- {
- char sz[99];
- sprintf(sz, "Course work for option %s, created by %s.", p1, p2);
- printf("%s\n", sz);
- }
- // printf("Course work for option 3.2, created by Ivan Ivanov.");
- /*
- #include <stdio.h>
- #include <stdlib.h>
- int n = 45;
- //char sz[122222]
- ///////////////////////////////////////////////////////////////
- int main()
- {
- int n1 = 155;
- int *p = (int*)malloc(sizeof(int));
- *p = 11;
- printf("*p = %d\n", *p);
- int &r = *p;
- printf("r = %d\n", r);
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement