Looping in C Programming Language

 Looping in C Programming Language Use: When we want to perform specific task repeatedly then we can use looping. In C Language there are three type of loop: For Loop While Loop Do while Loop Nested for Loop Each Loop statement requires three things: Initialization  Test Condition Increment/Decrement Operation 1. For Loop: For Loop is a repetition control structure which allow us to write a loop that is executed a specific number of time. Syntax:               for( initialization ; test condition; increment/decrement operation)                 {                    ------                    body of for loop;                    ------               } 2. While Loop: While Loop is use to per to p...

OVERVIEW OF C PROGRAMMING

  

OVERVIEW OF C PROGRAMMING

Concept/Definition of Instruction, Program, Programming, Programming Language, Programmer:


Instruction: Instruction is a command or request.

Program: Program is a set of instruction to perform specific task.



   Problem/Program Definition -> Analysis -> Perform -> Check/Compilation -> Execute

Programming: Programming is a process of writing a program. Programming    Process includes Problem analysis, Logic development.

Programming Language: A formal language in which programmer writes/develops a program is called programming language.

Ex. C, C++, JAVA, PHP, Python etc.

Each programming language has its own syntax. Programming language can be understandable by user/programmer. It’s provides a platform/environment in which user can perform different task.

Programmer: Programmer is a person who has ability to create a program. Program has two categories:


                 1.User Program

                 2.System Program

1. User Program: User Program is a set of instructions which is created by user based on user requirement/needs.

2.System Program: It is a developed/created by system administrator to control and manage all operation of system. Software is a collection of programs to perform any task. Software has two categories:

    A. Application Software: It is a set of user programs to fulfil/satisfy user requirement.             Ex. Amazon, Snapdeal, Library Management System, MS Excel, MS Word etc.

   B. System Software: It is set of system program to manage and control all operation              of system. Operating System is basic system software. Ex. Compiler, Linker, Loader,           Interpreter.



Comments

Post a Comment

Popular posts from this blog

Data Types in C Program

Different Modules to solve the program/problem

Operators in C Program