Preprocessor's question

³

³á³á³á³á

#define f(a) a*g
#define g(a) f(a)

int
main( void )
{
int i = f(2)(9);
return 0;
}

i will be 2*f(9) ?

or 2*9*g ?

--
|
 ___
(-_-)
<¡ä¡ä>¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w ªÅ´ßªª³õ shepjeng.twbbs.org ¢w¢w¢w
¡þ plum.cs.nccu.edu.tw
 
M

Martin Ambuhl

#define f(a) a*g
#define g(a) f(a)

int
main( void )
{
int i = f(2)(9);
return 0;
}

i will be 2*f(9) ?

or 2*9*g ?


int main(void)
{
int i = 2*9*g;
return 0;
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top