+2 LEVEL


C Programming
In 1972 Dennis Ritchie developed C language from ALGOL, BCPL and B, added the concept of data types and other powerful features at Bell Laboratory. To ensure that the C language remains standard, in 1983, American National Standards Institute (ANSI) appointed the technical committee, approved a version of C in December 1989 known as ANSI C. It is machine independent and is easy to learn and implement. It is concise and provides efficient translator for machine codes. 

Structure of a C program
Every C program consists of one or more functions. A function is nothing but a group or sequence of C statements that are executed together. Each C program function performs a specific task. The “main()” function is the most important function and must be present in every C program. The execution of C program begins in the main () function.

The figure below shows the structure of a C program.

main()                       function1()                 function2()
{                      {                              {
        statement1;                statement1;                        statement1;
        statement2;                statement2;                        statement2;       
        ……;                   ……..;                         ……;
        ……;                   ……..;                         ……;
}                      }                              }




Notes for class 11

UNIT1: a) Introduction to Computers

        b) History and Generation of Computer
UNIT2: Types of Computer

UNIT3: Number System
UNIT4: Logic Function and Boolean Algebra
UNIT5: Computer System
UNIT6: Operating System
UNIT7: Programming Concept
UNIT8: HTML


Notes for class 12



4 comments: