![]() |
Active Topics Memberlist Calendar Search |
| |
Topic: Query in c programming from correspondence |
|
| Author | Message |
|
Vijay007
Newbie
Joined: 02Feb2007 Online Status: Offline Posts: 19 |
![]() Topic: Query in c programming from correspondencePosted: 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 |
|
IP Logged |
|
|
manju
Senior Member
Joined: 20Feb2007 Online Status: Offline Posts: 221 |
![]() Posted: 23Feb2007 at 6:07pm |
|
i too think that zero is the right answer...
|
|
IP Logged |
|
|
||
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.