Matticus and laserlight. Thanks a lot. I'm so dumb.
And just so it might help someone else. I have confirmed that CTRL + D creates an EOF whereas CTRL + Z tends to stop the program (process state...
Type: Posts; User: visuthan
Matticus and laserlight. Thanks a lot. I'm so dumb.
And just so it might help someone else. I have confirmed that CTRL + D creates an EOF whereas CTRL + Z tends to stop the program (process state...
Hi,
I'm trying to learn C and I'm using K&R second edition. I am copying this example in the book called 'Line counting'. The code is
#include <stdio.h>
main()
{
int c, nl;