![]() |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() |
![]() |
![]() |
![]() ![]() |
Author | Message |
Vijay007
Newbie ![]() Joined: 02Feb2007 Online Status: Offline Posts: 19 |
![]() ![]() ![]() Posted: 02Feb2007 at 5:22pm |
Hi,
Q1] #define square(x) x*x main() { int i; i= 8/square(4); printf("%d",i); } What should be the answer? Ans given is 1 but i think it is 0 JAI HIND Post Resume: Click here to Upload your Resume & Apply for Jobs |
|
![]() |
|
manju
Senior Member ![]() Joined: 20Feb2007 Online Status: Offline Posts: 221 |
![]() ![]() ![]() |
i too think that zero is the right answer...
|
|
![]() |
|
![]() ![]() |
||
Forum Jump |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
|
© Vyom Technosoft Pvt. Ltd. All Rights Reserved.