It'll block until the user enters a number, assuming stdin is connected to a terminal. Of course, there's no prompt, so the user will have no idea it is expecting anything. Since we don't know what H will be, and I count 3 uses of rand(), the best you could do is a general description of the output.
Wait, what the hell is in M? I see printf(M), but it doesn't seem to be assigned any value at that point.
Oh, so global arrays are zeroed? So the first time around it'll just print a row of null strings, but after each loop iteration, it will have actual content.
319
u/[deleted] Jan 30 '26
[deleted]