Difference between revisions of "Talk:Team B Fallen Coders - oop344 20111"
(→coding help discussion) |
(→malloc) |
||
Line 1: | Line 1: | ||
− | + | = malloc function = | |
+ | |||
+ | syntax : malloc(size) | ||
+ | |||
+ | it allocated memory of given size... u can assign it to pointer & u can use that memory... | ||
+ | |||
+ | |||
+ | i.e. buffer = (char*) malloc(<str size>); | ||
+ | |||
+ | ok try & code on this.. if u have any question..post |
Latest revision as of 18:36, 15 February 2011
malloc function
syntax : malloc(size)
it allocated memory of given size... u can assign it to pointer & u can use that memory...
i.e. buffer = (char*) malloc(<str size>);
ok try & code on this.. if u have any question..post