Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Recent activity by padamprakash
1
answer
1
GATE Overflow Test Series | Mock GATE | Test 5 | Question: 40
Consider the following C program: #include<stdio.h> int (*foo(int (*f)(int,int))) (int, int) { return f+1; } int fun1(int x,int y) { return x+y; } int fun2(int x,int y) { return x*y; } int main() { int (*fun_ptr[2])(int ... ; } What will be the output when the above program is executed? $4\;\; 5$ $20\;\; 9$ $9\;\; 20$ None of these
Consider the following C program:#include<stdio.h int (*foo(int (*f)(int,int))) (int, int) { return f+1; } int fun1(int x,int y) { return x+y; } int fun2(int x,int y) { r...
546
views
commented
Feb 9, 2021
Programming in C
go2025-mockgate-5
programming-in-c
array-of-pointers
2-marks
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register