Question: 2. The C-code is given to you 3. if ((fp= fopen( filename, r))==NULL){ 4. printf( Error. Cannot read from file %s. Exit , 5. filename

2. The C-code is given to you 3. if ((fp= fopen( filename, r))==NULL){ 4. printf( "Error. Cannot read from file \%s. Exit ", 5. filename ); 6. exit( 1); 7. } 8. 1 9. while ( fgets(line, sizeof line, fp) != NULL ) \{ 10. printf("Successfully copied"); 11. } 12. fclose (fp); Write down how many systems call this program invoke? Explain what type of system call it is
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
