Navigation Menu
Home
Full Length Papers
News Blog
ECAT Practice Computer Science Functions in C MCQs Test 3
General

ECAT Practice Computer Science Functions in C MCQs Test 3

Practice ECAT 2026 Practice Test Computer Science MCQs from Functions in C. Get instant results with Explanation.
Practice Quiz 3 for "Functions in C" (Computer Science). Total 30 MCQs available, split into 3 quizzes. Challenge yourself with advanced application-based questions. This area is highly tested in ECAT.
General10 MCQs
1. What will this code print? void myFunc() { printf("Hello"); } int main() { myFunc(); return 0; }
2. How can a function receive an array in C?
3. What is an inline function?
4. The exit() function is used to:
5. Which header file contains the exit() function?
General10 MCQs
6. What is the difference between a function declaration and definition?
7. Functions can be called recursively.
8. What is a function pointer?
9. What is the output of this code: int x = 5; void change(int a) { a = 10; } int main() { change(x); printf("%d", x); return 0; }
10. What is the output of this code: int x = 5; void change(int *a) { *a = 10; } int main() { change(&x); printf("%d", x); return 0; }

📋 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.