Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <unistd.h>
- #include <sys/types.h>
- int main()
- {
- pid_t pid;
- pid = fork();
- if (pid != 0)
- {
- printf("Pertama\n");
- }
- else
- {
- printf("Kedua\n");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement