Monday, 6 February 2017

c programs


 introduction about c programming
  • c programing language is the structured programing language and it is developed by 'dennis ritchie' in1972 in USA
  • It support the diffrent control loop and diffrent statements
  • C language combines the high-level language  with control and flexibility of assembly language it's called as middle level language 
  • c language also called as procedure oriented programing language
  • c has become widely use professional language for following resons:
  • IN c language 32keywords are reserved
  • out of 32keyword 4 keyword are defined by ansci.

     TOPICS UNDER C LANGUAGE

  1. introduction to c
  2.  variable and length
  3. datatype
  4. controll structure
  5. function
  6. array
  7. storage classes
  8.  pointer
  9. structure and union
  10. file handling



BASIC IDEA OF CONTROLL STRUCTURE




BASIC IDEA OF FUNCTION

  1. function is use to an reduse the memory.

  2. function is use to an finding an error.

  3. it reduse repetation of code.

  4. syntax of function:

    function_datatype function_name(arguments)

    {

    //body of function

    }

    calling to an function:

    Function_name(arguments);

     



               ADVANTAGES
  1. c language easy to learn
  2.  c language is structured language
  3. c language can handel low-level activities
  4. c language is the basic language