How to read empty string in c
- by russell
I have a problem with reading empty string in c.I want to read string from the following -
1.ass
2.ball
3.(empty)
4.cat
but when i use gets() it does not treat (empty) as string[3].it read 'cat' as string[3].So how
can i solve this problem.Which thing should i use?? plz someone help.