Hello world in C language
Purpose of Hello world program may be to say hello to people or the users of your software or application.
Output of program:
Download Hello world program.
Hello world program in c
We may store "hello world" in a character array as a string constant and then print it.
Don't worry if you didn't understand above code as you may not be familiar with arrays yet.
Printing hello world indefinitely
Using loop we can print "Hello World" a desired number of time or indefinitely.
While loop will execute forever until it is terminated, to terminate press (Ctrl + C) in windows operating system.
No comments:
Post a Comment