Navigation Menu
Home News Blog
ECAT 2026 Practice Test Computer Science Functions in C Free Quiz 1
General
ECAT 2026 Practice Test Computer Science Functions in C Free Quiz 1
Practice ECAT 2026 Practice Test Computer Science MCQs from Functions in C. Get instant results with Explanation.
Practice Quiz 1 for "Functions in C" (Computer Science). Total 30 MCQs available, split into 3 quizzes. Start with the fundamentals and build a strong base. This area is highly tested in ECAT. Practice these MCQs repeatedly to ensure you don't lose valuable marks on exam day.
General5 MCQs
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?
General5 MCQs
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?

📋 ECAT - Test Online Practice Quizzes

ECAT

Conducting Body: UET
Frequency: Quarterly | Time: 100 Minutes
Negative Marking: No

⚡ Test Pattern (Total: 100 MCQs):

Merit Formula: Typically, the aggregate is calculated as: (ECAT × 33.33%) + (FSc Part-I × 16.67%) + (Matric × 50%). However, the respective university may revise its merit calculation formula or admission criteria from time to time. Please confirm the official criteria before applying.