What does "some error" mean? We can't "solve this issue" if you do not explain what it is.
The code you posted will produce 1.0, 5.0, and 25.0, which is correct.
What does "some error" mean? We can't "solve this issue" if you do not explain what it is.
The code you posted will produce 1.0, 5.0, and 25.0, which is correct.
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge