Copyright

Standard Library Functions in C Programming

Instructions:

Choose an answer and hit 'next'. You will receive your score and answers at the end.

question 1 of 3

While writing the following code in C, you keep getting an error. What standard library is missing?

printf("%d", age);

Create Your Account To Take This Quiz

As a member, you'll also get unlimited access to over 75,000 lessons in math, English, science, history, and more. Plus, get practice tests, quizzes, and personalized coaching to help you succeed.

Try it risk-free
Try it risk-free for 30 days. Cancel anytime.
Already registered? Log in here for access

1. Which of the following correctly imports the string functions library in C?

2. In C, when you use a command like getchar() or strcpy() you are actually executing what?

Create your account to access this entire worksheet
A Premium account gives you access to all lesson, practice exams, quizzes & worksheets
Access to all video lessons
Quizzes, practice exams & worksheets
Certificate of Completion
Access to instructors
Create an account to get started Create Account

About This Quiz & Worksheet

With this worksheet/quiz, you'll answer multiple-choice questions on standard library functions in C programming. The quiz asks you to recognize the standard library that's missing in a code and an appropriate import of the string functions library in C.

Quiz & Worksheet Goals

The following points are covered on the quiz:

  • Executions of codes like strcpy() and getchar()
  • C library to perform logarithmic or trigonometric functions
  • Library where you would find the function strcmp()

Skills Practiced

  • Reading comprehension - make sure you understand the most important information about the correct way of importing the string functions library in C
  • Information recall - access the knowledge you've gained regarding a C library that's used for performing logarithmic or trigonometric functions
  • Knowledge application - use your knowledge to answer questions about a standard library that's missing from a code and a library where you would find the function strcmp()

Additional Learning

If you're interested in learning more about this computer programming topic, consider the lesson named Standard Library Functions in C Programming. These topics are highlighted in the lesson:

  • How libraries are included in code
  • Standard input and output library
  • How to manipulate strings and characters
Support