Skip to main content

Beginner our view on C programming Language

 Beginner our view on C programming Language 


Beginner ourview on C programming Language
Beginner ourview on C programming Language

History about C programming Language.

The founder or we can say developer of C programming language was Dennis Ritchie. He was found in  Bell labs USA. The Birth of C language is originally on 1972. After the time C is widely popular all around the world. C is also used in to develop many OS system some are Linux and Windows. Now days C is still widely used or popular language in Programming world.

Here, we have a question is What is a Program ?  A Program is a set of instruction which on execution by a machine produces a specific result. A machine needs set of instructions to perform an operation. Those set of instruction are contained in a program.


what is a program in c language
What is program?

What is Programming languages ?


What Is a Programming Languages?


Meaning- A programming language allows a programmer to develop instructions which can be executed by a machine. A programming language acts as an intermediate between a machine and a program.

* A program is saved/stored as a file on the computer secondary memory.


Types of programming languages


types of programming languages
Types of programming Languages

  • Machine language:- It is the most basic level of programming language. The language in which every instruction is expressed using 1 and 0 us machine language

  • High level language:- The high level language is uses English like phrases to write instruction comprises of algebraic expression and/or English like phrases. Means in which we write code like a English statements or algebraic form.

  • Assembly language:- In assembly language memories are used to perform various mathematical and logical operations. Assembly language uses for symbolic operations codes.


Important points about performing operation with help of machine:-

* If ever some operation is to be performed with the help of a machine. We need to instruct the machine/Provide detailed instruction for carrying out the operation.

Since a machine doesn’t understands natural language. The instruction are provided in a format which could be processed the machine. The language which is used to instruct the machine is called programming language.

* The set of instructions which are processed by a machine collectively form a program needs to be saved in the memory.



What is Components of a C program ?


what is components of  a C program.

Source code/program is an technical term used for the code written for an application. Code is always executed and becomes part of the output.

To provide information about the source code, We use the concept of COMMENT.


What is Comments in C Programming? How many types of Comments


what is comments in C Language? types of Comments.
what is comments in C Language? types of Comments.

* Single Line Comment:- Single line comment can be used anywhere in the program. They render the data solving them as a comment. Single line comment is denoted by two backslash(//).


* Multi Line Comment:- To provide information which will be spanning multiple lines, We used the concept of multi line comments. They have beginning as well as ending. Means we can write multi line comment only between them /*…....*/.


What is Library Code In C language. What is relation between library and header file.


We are provided with predefined code by every programming languages. These code can be used directly in a application. This code is library code.

Library code helps in creating efficient applications. Library code is meant to be reusable. It helps in achieving RAD(Rapid Application Development).

Eg name.h (header file) This have all folder of library code. In c programming language Library code is present in header file.

Header File is a file which contains the code which is necessary to run an application. Header files are help files which contains declaration and definition of various functions, macros. Which can be used directly in the program. Every header file has a unique name and contains functionality for some specific operation.

Every header file has extension .h place where program are written is called Setup.

We can use any number of header files in a given application/program. To use/include a header file in a program, we use the following syntax:-

#include<name.h>





Pre-processor directive

We can create our own header file to achieve code reusability. We can include our own header file using the following syntax:-    #include”name of header file.h”

We will going on series of C Programming language of all topics. So, you can follow us for more updates.

Comments

  1. Thankyou for valuable feedback, it will give us more energy to make these kind of post in future, Thankyou

    ReplyDelete

Post a Comment

Popular posts from this blog

Control Statements in c language

So, Today we are going on new topic name control statements in C language. In which we read Looping(For, While and Do While), Jumping(Break, goto and Continue) and Decision Control statements(Switch, If, If Else and  If else if ladder)  in C. Before you read this article May you also like our previous posts :-    Structure Of C Language Program   Variables & Datatypes In C Language    Format Specifier In C Programming  .   It may help you to understanding it. A Statement is the smallest unit that is a complete instruction in itself statements contains expression and usually end with a semicolon. Statements are of two Types:- Types of Statements in C  1. Sequential Statement   2. Control Statement Sequential Statements are statements which are executed by one in sequential manner. Control Statements are the statements which alter the flow of execution and provide better control to the programme. On the flow of execution. The...

Structure Of C Language Program Btech BCA Notes

  Structure Of C Language Program Btech BCA Notes Before begin with topic I will share some important term and sequence of coding in c programming language. Without them code of C is useless and nothing without them. So, they are stdio.h and conio.h header files. What is Stdio.h Header file In C Programming? Stdio.h means Standard input output, which manages the fundamental operations required to run a program. Example is creation of variables assigning them memory etc. What is conio.h Header file In C Programming? Conio.h means console input output, which handles the entire input output operation during the course of execution of the program. you may also like our previous post , first post of C language  Beginner our view on C programming Language    also read it . What is the Structure of C language program? What is the Structure of C language program? Generally there are five structure of c language program. We use them in every program, Without the ...