22.
How many time "Example" will print in this program?
#include<stdio.h>
#include<stdlib.h>
#include<unistd.h>
 
int main()
{       
    if( execl("/bin/ls","ls",NULL) == -1){         
        perror("execl");
        exit(1);
    }
    printf("Example\n");
    return 0;
}

Read More Section(Linux)

Each Section contains maximum 100 MCQs question on Linux. To get more questions visit other sections.