arrow
arrow
arrow
Which of the following is not a part of <stdio.h>?
Question



Which of the following is not a part of <stdio.h>?

A.

printf()

B.

scanf()

C.

fopen()

D.

sqrt()

E.

fprintf()

Correct option is D

The sqrt() function is not a part of <stdio.h>; it is defined in the <math.h> library. Functions like printf(), scanf(), fopen(), and fprintf() are part of <stdio.h> and are used for standard input/output operations, such as printing to the console or file handling.
Important Key Points:
1. printf() and scanf()
· Defined in <stdio.h>.
· Used for formatted output and input, respectively.
2. fopen() and fprintf()
· File handling functions in <stdio.h>.
· fopen() opens files, and fprintf() writes formatted data to a file.
3. sqrt()
· Defined in <math.h>.
· Used to calculate the square root of a number.
Knowledge Booster:
· Other Functions in <stdio.h>:
· getchar(), putchar(), fscanf(), and fclose().
· File Handling:
· Functions like fwrite() and fread() are used for binary file operations in <stdio.h>.
· Library Specificity:
· <math.h> includes other mathematical functions like pow(), ceil(), and floor().

Free Tests

Free
Must Attempt
Video Solutions

RBI Assistant Pre 2026 Full Mock Test -01

languageIcon English
  • pdpQsnIcon100 Questions
  • pdpsheetsIcon100 Marks
  • timerIcon60 Mins
languageIcon English
Free
Must Attempt
Video Solutions

RBI Asst Prelims 2026 : Reasoning Section Test 01

languageIcon English
  • pdpQsnIcon35 Questions
  • pdpsheetsIcon35 Marks
  • timerIcon20 Mins
languageIcon English
Free
Must Attempt
Video Solutions

RBI Office Attendant 2026 Full Mock Test - 01

languageIcon English
  • pdpQsnIcon120 Questions
  • pdpsheetsIcon120 Marks
  • timerIcon90 Mins
languageIcon English
test-prime-package

Access ‘IBPS SO IT Officer’ Mock Tests with

  • 60000+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
354k+ students have already unlocked exclusive benefits with Test Prime!
Our Plans
Monthsup-arrow