The blog consist sources of object oriented languages.Such as concepts of c++,java,C# .Blog enhances your programming skills from your first step to a known developer.
Search This Blog
Tuesday, 11 March 2014
function with #define in C++
#include<iostream.h> #include<conio.h> #define Min(a,b)(a<b?a:b) void main() { int i=20,j=25; cout<<"Minimum value is : "<<Min(i,j); getch(); }
No comments:
Post a Comment