Hiya, I was wondering if anyone could help me with a simple question on fgets().

I'm reading in an unknown number of characters into a char pointer using fgets... Now the arguments for fgets are (arrayname, size of array, stdin)

If I have a pointer instead of an array, how do I express the size of it since I don't know the size yet?

Thanks.