Tuesday 3 May 2016

Stupid C Programming Part 1 (Introduction To Program and Programming)

Introduction To Program and Programming : 

Program : A program is combination of one or more instruction written in a particular programming language to perform some mathematical calculation or some logical calculation or any thing we want our computer to perform.

Programming : Writing a program using a particular programming language is called programming.

Programming Language : Programming language is a language to write a program. It provide some keywords, some methods, and has some punctuation rules to write a program.
Such As, C, C++, C#, Java etc.

Each and every programming language has some fixed keywords, and provides some method to to perform some task such as, printing a text to monitor or accept some input from keyboard etc, and also defines some rules to write instructions. For example, how we write instruction, where we use comma(,) or a full stop (.) or where we use a semi-colon(;) etc.

Steps To Write a Program : To write a program and to successfully execute the program we need to follow some steps,

Step 1 :   Write the programming instructions in a file in a programming language.

Step 2 : Compile the program using the compiler of the programming language we are using.

Step 3 : The output after compilation we will get an executable file now we can run this file to perform the task.


No comments:

Post a Comment