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

Similar Threads

About initializaion list 8
My Status, Ciphertext 2
About sizeof 17
Blue J Ciphertext Program 2
About FAQ 1.14 2
Yet another one-page toy interpretter 0
Python code problem 2
Taskcproblem calendar 4

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top