Navigation Menu
Home Blog Latest Notices
100% Free

ECAT - Practice Test - Computer Science - Functions in C - Quiz 1

Practice 10 high yield MCQs on Computer Science from Chapter Functions in C for Practice Test. After submission, get instant results with correct answers and detailed explanations. This is Quiz 1 of the series.

1. A function in C is defined by:



2. The main() function returns an int by default. What does the return 0; indicate?



3. A function prototype is used to:



4. Which keyword is used to indicate that a function returns no value?



5. What is a parameter in a function?



6. An argument is:



7. What is the default return type of a function in C if not specified?



8. Which of these is a correct function call?



9. What is the output? int add(int a, int b) { return a + b; } int main() { printf("%d", add(5, 3)); return 0; }



10. What is a recursive function?



← Back to Quiz Sets
Instructions: Select one answer per question. After submitting, you will see your score, correct answers, and explanations.

Medical Colleges in Pakistan

Explore medical institutions city‑wise – public & private.

Browse All Medical Colleges →