quote:Original post by Agent1
That would just return the size of the type used to hold the MAX_STR constant, not the actual value in it.
-Agent1
That''s what I meant, Agent1.
Beginners and experts will find answers here.
quote:Original post by Agent1
That would just return the size of the type used to hold the MAX_STR constant, not the actual value in it.
-Agent1
quote:Original post by Mathematixquote:Original post by Agent1
That would just return the size of the type used to hold the MAX_STR constant, not the actual value in it.
That's what I meant, Agent1.
malloc(sizeof(char) * MAX_STR);