by Dinesh Thakur Category: Functions

 

#include<iostream.h>

#include<conio.h>
int max(int x, int y){return x>y ? x : y;}
void main()
{
    int m;
    clrscr();
    m=max(max(4,max(11 ,6)),max(10,5));
    cout<<"Maximum Number Between max(max(4,max(11 ,6)),max(10,5)) : "<<m;
    getch();
}

Different Integers Using Nested Function Call



About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.



Related Articles