Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
c++ x 1
Member Avatar for sreehari.rk

double b = 3.0000; char s[20]; sprintf(s,"%f",b); Here char s[20] is fixed it should take values however small be it.I will be happy if I get tat 20 at runtime as a varible with correct allocation size.Else for small value ter will be wastage of memory.It will allocate 20 for …

Member Avatar for Duoas
0
1K