Interviewer And Interviewee Guide

Data Structure Arrays Interview Question:

What will be output if you will execute following c code?
#include<stdio.h>
#include<math.h>
double myfun(double);
void main(){
double(*array[3])(double);
array[0]=exp;
array[1]=sqrt;
array[2]=myfun; printf("%.1ft",(*array)((*array[2])((**(array+1))(4))));

}
double myfun(double d){
d-=1;
return d;
}

Submitted by: Muhammad
2.7
Submitted by: Muhammad

Read Online Data Structure Arrays Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.