As a beginner, I am trying to write a simple c program to learn and execute the \"write\" function.
I am trying to execute a simple c program simple_write.c
Ok,
I got what i was doing wrong.
These are the steps that I took to get my problem corrected:-
$ gedit simple_write.c
Write the code into this file and save it (with .c extension).
$ make simple_write
$ ./simple_write
And I got the desired output.
Thanks!!