0
Why it's gets function is not working ? ( 8th line )
1 Respuesta
+ 1
You are not given size for char array.. So it's empty.. Give the size.
And use fgets() instead of gets(), it is deprecated. See warnings..
Use int main() instead of void main()..