You are partially wrong. There is a right way to define the memeory allocation - malloc(25*sizeof(char)). But size of char is always 1 on all platforms. So malloc(25*sizeof(char)) == malloc(25). The last is not the convenient way to work with.
-- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
