Lesson 1: How to print a character string using the printf function?
/* Standard I/O Library */
#include <stdio.h>
/* This function(main) is necessary because the program starts from it. */
int main(void)
{
/* Even though this is always used by beginners,
you might use any other string.
The character string as a parameter is necessary
for using the printf function. */
printf("Hello world");
/* This statement return a value to the Operating System */
return 0;
}
I want to post useful articles and tutorials that will help everyone who are learning the C Programming Language. ---------------------
Regards, Utroz.
E-mail Contact: utroz (at) oakcoders (dot) com
No comments:
Post a Comment