Saturday, March 4, 2023

C-Programming

 C-PROGRAMMING


C programming language is a powerful, high-level programming language that is widely used for developing system software, application software, and embedded software. It was developed in the 1970s by Dennis Ritchie at Bell Labs, and it has since become one of the most popular programming languages in the world. In this blog, we will cover the basics of C programming language.



  
      stdio
  1. It stands for standard input output.
  2. It is a collection of predefined function.
  3. It is also called library of C.
      include
  1. To include header file into program.
      #
  1. It is also called preprocessor.
  2. It includes the library of C into the program before the execution of program.
      conio
  1. It stands of console input output.
  2. It is used to show the output on console window.
      void 
  1. It is a keyword.
  2. It indicates that no one value is being returned by the function.
     main
  1. It is the function which is called the entry point of any program.
  2. The  execution of any program starts with main function.
  3. If in a program there is only one function then it should be main function.
      clrscr
  1. It stands for clear screen.
  2. It is a predefined function which is used clear the output screen.
  3. It acts like a duster in output screen.
  4. It is defined in conio.h header file.
      printf
  1. It is a predefined function which is used to print information or data on to the output screen.
  2. It is defined in the stdio.h header file.
      getch 
  1. It is a predefined function which is used to hold the output screen.
  2. It also acts like a duster on output screen.
  3. It is defined in the conio.h header file.

BITWISE OPERATOR

  BITWISE OPERATOR In C, bitwise operators are used to perform operations at the bit level of operands. They manipulate individual bits with...