mockers
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Sizeof :bhagalpur Sir

2 posters

Go down

Sizeof :bhagalpur Sir Empty Sizeof :bhagalpur Sir

Post  ballu Sun Feb 01, 2009 10:37 pm

Can we use sizeof operator in a macro??
ballu
ballu

Posts : 58
Join date : 2009-02-01

Back to top Go down

Sizeof :bhagalpur Sir Empty Re: Sizeof :bhagalpur Sir

Post  $corpion Mon Feb 02, 2009 12:52 am

ya we can ...but the only constraint is that we cant use the regular sizeof function then...
i.e.
#define sizeof 100
main()
{
//some code..this code shd not use sizeof(some argument)
else it ll b error..
}
$corpion
$corpion

Posts : 25
Join date : 2009-01-30
Age : 37

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum