Horje
create arrya of chars malloc Code Example
create arrya of chars malloc
#include <stdlib.h>

char *str = malloc(lenOfWord + 1);
//We dont need to multiply the size by sizeof(char) because it is equal to 1




C

Related
fibbonacci series Code Example fibbonacci series Code Example
__isoc99_sscanf Code Example __isoc99_sscanf Code Example
what happens if i acess a freed variable in c Code Example what happens if i acess a freed variable in c Code Example
anticonstitutionnellement Code Example anticonstitutionnellement Code Example
how to break a loop in c Code Example how to break a loop in c Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10