+ 1

why is the size 8?

Here in the code the last value is the size of the malloc allocated str. https://code.sololearn.com/c9A4kkWAU7DO/?ref=app

10th Aug 2019, 7:58 PM
Spandan Bhattacharya
Spandan Bhattacharya - avatar
2 Answers
+ 2
ooo thats why,thanks
10th Aug 2019, 8:58 PM
Spandan Bhattacharya
Spandan Bhattacharya - avatar