Skip to main content

The Father of All the Programs

Hey There,

We are Happy to Announce that we would be explaining the First Ever Computer Program Which is so Famous,That it has became "The Father of All the Programs" and what is it For , Let's Find Out.

So the First Program we would be explaining to you in a brief description would be in a C programming environment, If you want to gain more insights you can read our previous blog
The Big Myth: I need to be a Hardcore Mathematician to be a great programmer

So Let's Begin,

1:  #include<stdio.h>  
2:  #include<conio.h>  
3:  void main()  
4:  {  
5:  printf("Hello World!");  
6:  }  
Let us dissect the program written above

The 1st two lines act Like a dictionary for a program the names inside the angular brackets are the names of header files (.h behind a file name denotes its a header file).

The first header file stdio.h stands for Standard Input/Output

The second one conio.h works for Console Input/Output

The # character defines that its a pre-processor directive it's work is to process all that what is needed before the execution of the current program

The include keyword is used to add header files in the program

The 3rd Line has void main(), main is the function name

The function has a return type which in this case is void ( means , it doesn't return anything), and the name of the function is main, which is the starting point of all the C programs.

The function's body must start with an opening curly bracket and end with a closed curly bracket as done in 4th and 6th line.

The 5th line is responsible for displaying a "Hello World!"message on console , It contains printf() function which is used to print (display) any given text on the screen (screen as in console here) , Every line in the function body ends with a semi-colon as done here. A double quoted string is passed as a parameter to the function which is "Hello World!" in this Case.

We Hope that you would've made the most of it,That's it for now.

Stay Connected For More!

Follow us on the following platforms:

     Twitter  atcfb.twitter.com

     For Queries , Questions and Recommendations mail us at:codeforumblogs@gmail.com

Comments

Popular posts from this blog

We own a Domain Now

Hello Reader, Thank you for being with us for all these years now. We are now having our own Domain Name called codeforumblogs.com, and we would like to invite you going forward to keep in touch with both https://codeforumblogs.blogspot.com/ and https://codeforumblogs.com Thank you for your Support Keep in Touch Team CFB Follow us on the following platforms:      Facebook at :   facebook.com/Code-Forum-Blogs-627758557362138       YouTube at :  youtube.com/channel/UCVI187rIIBQLxQTp9gN1c6Q?view_as=subscriber       Google+  at :  plus.google.com/u/0/109055425984087943391       Twitter  at :  cfb.twitter.com     Medium at :  medium.com/@codeforumblogs            For Queries , Questions and Recommendations mail us at : codeforumblogs@gmail.com

Thought Change

Dear Reader,                       We are changing the way we deal with Blogs, We Understand that it is a Little Late But we will be Adding More Blogs Soon, Till Then Keep Reading. Regards, Team CFB Follow us on the following platforms:      Facebook at :   facebook.com/Code-Forum-Blogs-627758557362138       YouTube at :  youtube.com/channel/UCVI187rIIBQLxQTp9gN1c6Q?view_as=subscriber       Google+  at :  plus.google.com/u/0/109055425984087943391       Twitter  at :  cfb.twitter.com     Medium at :  medium.com/@codeforumblogs            For Queries , Questions and Recommendations mail us at : codeforumblogs@gmail.com

AI #2 History and Evolution of AI

Dear Reader,                         We are bringing to you a Series of Blogs on AI , are you excited ?, So are we, So here we Go:                                                                                               Image Source: India Times Title: "A Brief Journey Through the Dynamic History of Artificial Intelligence" Introduction: In the ever-evolving landscape of technology, Artificial Intelligence (AI) stands as a testament to human ingenuity and innovation. Embarking on a journey through time, we explore the captivating history of AI – from its inception to its present-day impact. --- 1950s - The Dawn of AI: The seeds of AI were sown in the 1950s, as visionary researchers convened at the Dartmouth Workshop. The term "Artificial Intelligence" was born, accompanied by a mission to develop machines capable of mimicking human-like intelligence. Title: "A Brief Journey Through the Dynamic History of Artificial Intelligence" Introduction: In the e