[ad_1]
sizeof is giving you the size of char pointer which is 4 on your platform.
0
[ad_2]
solved Dynamic Memory allocation to string, gives out incorrect size [duplicate]
[ad_1]
sizeof is giving you the size of char pointer which is 4 on your platform.
0
[ad_2]
solved Dynamic Memory allocation to string, gives out incorrect size [duplicate]