Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //used of inline function in c++
- #include<iostream>
- using namespace std;
- inline int max(int a,int b)
- {
- return (a>b)?a:b;
- }
- using namespace std;
- int main()
- {
- cout<<max(13,50);
- }
Advertisement
Add Comment
Please, Sign In to add comment