GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2021 set1

GATE 2021 set1 · CS · MSQ · 1 mark · Operating System › Processes & Threads

GATE 2021 set1 Computer Science and Information Technology question: Which of the following standard C library functions will always invoke a system call…

Which of the following standard C library functions will always invoke a system call when executed from a single-threaded process in a UNIX/Linux operating system?

  1. (A)

    exit

  2. (B)

    malloc

  3. (C)

    sleep

  4. (D)

    strlen

Show answer

Official answer: A,C

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion