I kinda understand pointers after reading and reading... i know that pointers allocate memory spaces for type blah.. etc

but.. there is one thing that i dont understad..
why is it that on some codes that see, have something like

Code:
char *i;

  i = ( char * ) malloc( 50 * sizeof( char ));
from what i know.. malloc allocate's memory space as well... This is confusing me a bit.. but heh i will keep reading.. maybe there is something that will hit the jackpot