I font understand whether you guys are actually famaliar with synataxes.
while allocating you should know that malloc returns null pointer so that has to be typecasted.
n you people straightway write mlloc(...);
Try not to repeat. Any newbie reading this would get confused and get ample errors to get his head scratched...