Skip to content
  • Facebook
GeekCer Logo

GeekCer

The geek's Coding education and Review centre

  • Home
  • Tutorials
    • Java
    • Servlet
    • JSP
    • Python
    • C Tutorial
    • Spring
    • Spring Boot
    • MongoDB
    • Hibernate
    • Data Structure
  • General Knowledge
  • Biography
  • Grammar
  • Festival (त्योहार)
  • Interview
  • Differences
  • Important
  • Toggle search form

Home » C Language » Programming with C Language Tutorial

  • Real life Inspirational Stories in Hindi | Success story in Hindi
    Real life Inspirational Stories in Hindi | Success story in Hindi Biography
  • National Doctors Day in India and Other Countries, July 1, 2022
    National Doctors Day in India and Other Countries, July 1, 2022 General Knowledge
  • Indian Navy Day
    Indian Navy Day: जल सेना दिवस कब और क्यों मनाया जाता है? General Knowledge
  • Fundamental Duties of Indian Citizens
    Fundamental Duties of Indian Citizens | 11 मौलिक कर्तव्य हिंदी में General Knowledge
  • What is Noun
    What is a Noun? 5 Types of Nouns with Examples, Noun diagram Grammar
  • Thomas Edison Biography in Hindi - थॉमस एडिसन जीवनी
    Thomas Edison Biography in Hindi – थॉमस एडिसन जीवनी Biography
  • Apj Abdul Kalam biography in Hindi, Life, Missile Man of India
    Apj Abdul Kalam biography in Hindi, Life, Missile Man of India Biography
  • Unicef day
    Unicef day is celebrated on December 11 | Speech on unicef day General Knowledge

Programming with C Language Tutorial

Posted on November 16, 2021November 17, 2021 By GeekCer Education No Comments on Programming with C Language Tutorial
Programming with C Language Tutorial

C is a computer programming language that was created primarily for use on the UNIX operating system by Brian Kernighan and Dennis Ritchie. It has since grown in popularity to become one of the most extensively used programming languages. C is the most popular programming language for building system software, however it may also be used to create applications.

Table of Contents

  • Key features in C language
  • Advantages of C language
  • Disadvantages of C language
  • Rules of writing C programs
  • Structure of c programs
  • Data types in C Programming
    • Categories of data types in C
  • Variables in C
    • Types of variables in C
  • Declaration and Initialization in C
    • Different Type of Declarations in C
    • Different Type of Initialization in C

Key features in C language

There are following key features of C programming language:

  • C is a Stable and Portable Programming Language.
  • C is an excellent choice for system software.
  • The C programming language is a structural programming language.
  • The C programming language is referred to as the “Mother Language.”
  • It is simple and has fast speed.

Advantages of C language

  • C is a particularly efficient language due to its built-in features.
  • Because of conditional and control statements, the process is quick.
  • Module and Structured Programming.
  • A C program built for one machine can be executed on another computer (running a different operating system) with little changes.

Disadvantages of C language

  • In C language the error detection is poor.
  • It doesn’t have any basic input-output commands.

Rules of writing C programs

  • C is a case-sensitive programming language so you need to take care whatever you write.
  • You have to write all of the keywords in lower case.
  • You are aren’t allowed to be used keywords for anything else, such as naming variables or functions.
  • When a program is run, the main () function is always called first.

Structure of c programs

                  1. Documentation Section  
2. Link Section
3. Definition of constants 
4. Global variable declaration
5. main() 
  {
    i.  declaration;
    ii. executable statements;
  }

Data types in C Programming

Data Types, such as int, float, and so on, are used to represent the kind of data being kept in a variable. Different forms of data are supported by C programming.

Categories of data types in C

The four categories of data types are as follows:

  1. Primary (or fundamental) data types
  2. User – defined data types
  3. Derived data type
  4. Empty data set

Variables in C

A variable is a descriptive term for a memory area in a computer. When you declare the variable, you are referring to the computer’s memory address.

Types of variables in C

  • Local Variables
  • Global Variables

Declaration and Initialization in C

A declaration starts with a data type, then one or more variable names, and finally a semicolon. A declaration informs the compiler about the variable’s name and the sorts of data it will store. It binds a set of variables to a certain data type.

Different Type of Declarations in C


int a, b;
short int s;
double d;
long double ld;
char ch;

Different Type of Initialization in C

Initialization is the process of giving variables their first values. The variables can be initialized by using assignment operators in C.


a = 0;
b = 2;
a = b = 2
a = b = c = min

Click here to get the list of C Programs

Share this:

  • Click to share on Facebook (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • More
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Pinterest (Opens in new window)

Also Read

C Language

Post navigation

Previous Post: Top 100 C programs for geeks
Next Post: Constants and Operators in C Language

More Related Articles

String Array in C | What is an array of string | String Functions String Array in C | What is an array of string | String Functions C Language
Constants and Operators in C Language Constants and Operators in C Language C Language
Function in C Language | Recursive function with example Function in C Language | Recursive function with example C Language
Storage classes in C with examples (auto, extern, static, register) Storage classes in C with examples (auto, extern, register, static) C Language
Linked List in Data Structure and Algorithm, Types, Operations Linked List in Data Structure and Algorithm, Types, Operations C Language
Pointers in C Programming, Definition, Types & Example Pointers in C Programming, Definition, Types & Example C Language

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • C Home
  • Constants and Operators
  • Statements in C Language
  • Array in C
  • String Array in C
  • Functions in C
  • Pointers in C
  • Structure in C
  • Storage Classes
  • File Handling in C
  • Top C Programs
  • National Farmers Day in Hindi | राष्ट्रीय किसान दिवस पर निबंध | चौधरी चरण सिंह जयंती
  • Human rights day in Hindi: 10 दिसंबर ह्यूमन राइट्स डे
  • Unicef day is celebrated on December 11 | Speech on unicef day
  • Indian Navy Day: जल सेना दिवस कब और क्यों मनाया जाता है?
  • P V Sindhu Biography in Hindi, Badminton, State, Caste पी. वी. सिंधु जीवन परिचय, कहानी, राज्य, जाति
  • Draupadi Murmu Biography In Hindi | द्रौपदी मुर्मू की जीवनी
  • Difference between TCP and UDP
    Difference between TCP and UDP | TCP vs UDP examples Differences
  • OSI Model | 7 Layers of OSI Model in Computer network
    OSI Model | 7 Layers of OSI Model in Computer network, Functions Networking
  • Network kya hai (नेटवर्क क्या है)
    Network kya hai (नेटवर्क क्या है) Networking
  • IPv4 Vs IPv6 | Difference between IPv4 and IPv6
    IPv4 Vs IPv6 | Difference between IPv4 and IPv6 Differences
  • Similarities and difference between OSI and TCP/IP model
    OSI vs TCP/IP Model, Similarities and difference between OSI and TCP/IP model Networking
  • Difference between Internet and Intranet
    Difference between Internet and Intranet Differences
  • TCP/IP Model, Full Form, Layers and their Functions
    TCP/IP Model, Full Form, Layers and their Functions Networking
  • Java Tutorial
  • Servlet Tutorial
  • JSP Tutorial
  • Maven Tutorial
  • HTML Tutorial
  • Programs
  • Hindi/English Grammar
  • Difference Between ... and ...
  • HR Interview
  • Important Articles

Write to Us:
geekcer.code@gmail.com

  • About Us
  • Privacy and Policy
  • Disclaimer
  • Contact Us
  • Sitemap

Copyright © GeekCer 2022 All Rights reserved