LearnFrenzy
Sign in Take a free test

C Library Functions · Exercise 1 of 4

C Library Functions Library Functions MCQ

  • 12 questions
  • Page 2 of 2
  • Answers explained
0Attempted
0Correct
0Wrong
Directions

Twelve multiple-choice questions on header files, math, string, stdlib, ctype and time functions and their return values. Pick an option to check your answer instantly.

Question 11 Easy

What does time(NULL) return on most systems?

A The time of day as a string
B The current calendar time as time_t – the seconds since 1 January 1970 UTC
C Milliseconds since the program started
D A struct tm
Question page & discussion
Question 12 Medium

What does isdigit('7') return?

A 1 exactly
B A non-zero value (not necessarily 1)
C The digit value 7
D The character '7'
Question page & discussion
Up next · Exercise 2Predict the Output12 questions

Ready to test your Programming?

Timed online tests with instant scores and explanations.

Search LearnFrenzy

Esc

Quick links