[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: Functions - Discussion

Home > C Programming > Functions > MCQs Questions Discussion

17 / 53

What is the output of the following 'C' program?

#include<stdio.h>
func(a,b)
int a,b;
{
 return( a=(a==b) );
}
void main()
{
int process(),func();
printf("The value of process is %d \n ",process(func,3,6));
}
process(pf,val1,val2)
int (*pf) ();
int val1,val2;
{
return((*pf) (val1,val2));
}

AThe value if process is 1

BThe value if process is 3

CThe value if process is 0

DThe value if process is 6

ECompilation Error

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!