INTRODUCTION TO C PROGRAMMING


Learn Basic C Programming Language in Just 10 minutes.

Ready to start with a Beginner's Tutorial for C programming Language.In this you will know about C language.

What Is C Programming Language?

c Programming Language:-Is Very Simple Language.It is first language developed by dennis Ritchie in 1965 at bell Lab.It is used to develop softwares like operating systems,Databases and Compilers.



Image Source : @udemy.com

What is Header Files:-

A header file is a file that contains function declaration and macro-defination for C in-built library functions.There are total 19 header files in the standard C library.And All the files have .h file extension.

There are two kinds of header files.One is the files that the developer writes and Second is,the files that come with your compiler. 

Example of C header Files are:-

1) #include<stdio.h>

2)#include<conio.h>


Features Of C:-

  • Simple.
  • Portable.
  • Memory Management.
  • Fast Speed.
  • Rich Library.
  • Pointers.
  • Mid Level Programming Language.

  • Simple:- C Language Is A Simple Language In The Sense That It Provides A Structured Approach.Structured Approach Means To Break A Problem Into Parts.And It Has A Rich Set Of Library Functions,Data Types Etc.
  • Portable:- Portable Means Machine Independent.Unlike Assembly Lang,C Programs Can Be Executed On Different Machines.
  • Memory Management:- It Supports The Feature Of DMA.In C,We Can Free The Allocated Memory At Any Time By Callling Free() Function.
  • Fast Speed:- The Compile Time And Execution Time Of C Language Is Fast As There Are Less Inbuilt Functions.
  • Rich Library:-  C Provides A Lot Of Inbuilt Functions Strcpy(),Strcat(),Strncpy() Etc.
  • Pointers:-  C Provides A Feature Of Pointers.We Can Directly Interact With Memory By Using Pointers.
  • Mid-Level Language:- C Is Intended To Do  Low Level Programming Language.And It Is Also Supports The Features Of High Level Language.That's Why,It Is Mid Level Language.

Advantages of C:-

  1. C is  powerful and efficient language.
  2. C has a quality to extend itself.
  3. C is highly portable language.
  4. C compiler is very fast as compared to other language compilers.
  5. Program code is secured.
  6. Syntax is very easy to understand.

Disadvantages of C:-

  1. No Concept of Constructor and Destructor.
  2. Doesn't have Concept of namespace.
  3. Low Level Of Abstraction.
  4. No Run time checking.
  5. Lack of Exception Handling.
  6. Doesn't have Concept of OOP's.

Best books to learn C language:-

For Beginners:-
  1. Let us C by Yashavant Kanetkar
  2. C in Depth by deepali srivastava and S.K.srivastava.
  3. Head First C.
  4. C:The Complete reference by Herbert Schildt. 
And to learn C progamming from youtube i will prefer you to subscribe Saurabh Shukla Youtube Channel.

Comments

RELATED POSTS

LOGIN PAGE OF WEBSITE

CHANDIGARH ADMINISTRATION DECIDED TO LIFT CURFEW FROM 3RD OF MAY

APPLE CIDER VINEGAR : BEST 5 WAYS TO USE APPLE CIDER VINEGAR FOR WEIGHT LOSS AND HEALTHY LIFE.