Hi!
I have a function which input parameter is the number of words. Now I have to allocate the space for variable Words.
Is this right?Code:.
.
.
void Function (unsigned int NoOfWords)
{
char *Words = 0;
Words = malloc (sizeof (char) * NoOfWords);
.
.
.
free (Words);
}
.
.
.