Examveda
Examveda

What is the output of this program?
#include<stdio.h>
 
int main()
{
    fork();
    printf("Example\n");
    return 0;
}

A. the string "Example" will print 1 time

B. the string "Example" will print 2 times

C. the string "Example" will print 3 times

D. none of the mentioned

Answer: Option B


This Question Belongs to Computer Science >> Linux

Join The Discussion

Related Questions on Linux