470,862 Members | 1,828 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,862 developers. It's quick & easy.

#define f(g,g2) g##g2

What does it mean?
what will f(12,8) output?
thanks
Jun 27 '08 #1
3 3221

"magicman" <ir*********@gmail.comwrote in message
news:6f**********************************@e39g2000 hsf.googlegroups.com...

[#define f(g,g2) g##g2]
What does it mean?
what will f(12,8) output?
f(12,8) won't output anything. It gets translated to 128, which won't do
much by itself.

Have you thought of just trying it?

--
Bartc
Jun 27 '08 #2
magicman <ir*********@gmail.comwrites:
What does it mean?
Do you have a C textbook? What does it say?
what will f(12,8) output?
What happened when you tried it?

--
Keith Thompson (The_Other_Keith) <ks***@mib.org>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Jun 27 '08 #3
magicman wrote:
What does it mean?
what will f(12,8) output?
thanks
## is concatentate. Check your documentation.

f(x, y)
would become
xy
--
Jim Langston
ta*******@rocketmail.com
Jun 27 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by mansour | last post: by
reply views Thread by mansour | last post: by
18 posts views Thread by Bryan Parkoff | last post: by
2 posts views Thread by Andreas | last post: by
3 posts views Thread by theotyflos | last post: by
9 posts views Thread by pozz | last post: by
71 posts views Thread by David T. Ashley | last post: by
6 posts views Thread by anirbid.banerjee | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.