MCQs > IT & Programming > System Programming > How many bytes of a file of size 1023 will be read by the following piece of code?

System Programming MCQs

How many bytes of a file of size 1023 will be read by the following piece of code? 

  char buf[256]; 

   while (read(fd, buf, 256)) {

        /* Take some action */

  }

Answer

Correct Answer:

1023 

Explanation:

Note: This Question is unanswered, help us to find answer for this one

System Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

System Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it