+ 1
Why this c prog. For Armstrong number check is behaving strangely?
plz follow the below link and check my program 1. run as it is nd check the o/p for I/p number 1634 2. remove the forward slashes (//) on line 31 and line 46 nd run again in the second case u get it correctly... but why is it happening? 31&46 are just print statements they don't effect the program.. plz explain if u found the answer.... thank you.... http://ideone.com/KzIXgE
3 Respuestas
+ 5
in digits function u forget to initializ c int c=0 then we will get no error at 31 and 46 lines http://ideone.com/lpMNpe
+ 4
welcome dude 😊
0
thnx @rajyalakshmi.M for Ur effort