Learn How to Program in C

by
Dr. Kristin Switala

Introduction

Directives

Variables

Conditionals

Loops

Arrays

Pointers

Strings

Functions

Structures


Site Map

Review: Functions (a)

Instructions: Think about each question and write the answer in your notebook.


General Questions

1. What is a built-in function?

2. What is a user-defined function?

3. Does void main( ) return a value?

4. Do we have to declare user-defined functions?

5. Is printf( ) a built-in function or a user-defined function?

6. Is Thirteen( ) a built-in function or a user-defined function?

7. What are the three parts of a function header?

8. What is a passed variable?

9. Which of these is the correct way to name a function?

a. my   funct
b. MyFunct
c. my&funct

10. Do you have to declare a passed variable in the main( ) function?

11. In a function, what does return do?

12. If you have two or more functions, does each need its own return statement?

Copyright
© 2001
Kristin Switala
Hosted by www.Geocities.ws

1