Sunday, March 17, 2013

Macros

#include<iostream>
#define square(a) a*a
using namespace std;
int main()
{
    int p=10;
    cout<<square(p);
    return 0;
}

0 comments:

Post a Comment