Functions & Parameters in C Programming

Instructions:

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

question 1 of 3

The keyword used to transfer control from a function back to the calling function is

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? Login here for access

1.

How many times will the program print 'Study.com' ?


int main() {
 printf('Study.com');
 main();
 return 0;
}

2.

Choose the correct option:

1. A function cannot be defined inside another function

2. Functions cannot return more than one value at a time

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

Quiz yourself on the functions and parameters in C programming with these assessments. Main areas of study include the keyword that's used to transfer control from a function back to the calling function and an example of function main().

Quiz & Worksheet Goals

You'll be quizzed on these points related to C programming:

  • Function definitions/ value returns
  • Return type default if a function is not specified
  • Output example of a main() function

Skills Practiced

  • Reading comprehension - make sure you understand the most important information about the function main() in C programming
  • Information recall - access the knowledge you've gained regarding the return type default when a function is not specified
  • Knowledge application - use your knowledge to answer questions about the keyword that's used to transfer control from a function back to the calling function and the output of a main() function

Additional Learning

For more on computer programming language, consider the lesson named Functions & Parameters in C Programming. These points will be highlighted as you go along:

  • Explanation of a function
  • Two major function types
  • Return-type, parameter list and local variable functions
  • Variable result and void return types
  • Parameter that's considered an argument
Support