C – Decision Making Statements

In C programming Language, Decision-Making statements are used when a user wants a certain block to be executed under certain conditions. It also allows the user to determine the order in which a certain block has to be executed, or repeat that block until the certain condition is fulfilled. C programming language provides the following types … Read more

C – Tokens

What is Token in C? The basic and smallest unit of a C program is called C tokens. This tokens are meaningful to the compiler. Compiler breaks the programs into smallest unit that is the tokens and proceed various compilation stages. There are total six tokens in C Programming language. Keywords and Identifiers: Keywords are … Read more

C – Input output(I/O): printf, scanf, getchar & putchar

Input output(I/O) Input means providing or inserting some data that is to be used in a program.Output means to display the data on the screen or write it in a file. There are many C built-in function that are used to take in data and display the data from a program as a result. printf() and scanf() functions … Read more

C – Keywords and Identifiers

In this article you will learn about the Keywords, Identifiers and Tokens present in C. Let us first start with Character sets, knowing what are character sets then you will understand the rest in this article.Let us begin. Character sets: In C Programming Character Sets refers to all the alphabets, letters and some special characters … Read more

C -Introduction

C is one of the most commonly used programming languages. It is a general-purpose, high-level language (generally denoted as structured language). C is used for creating a compiler of different languages, implementation of different Operating System Operations. C programming language was first developed by Dennis M. Ritchie at At&T Bell Labs. There are many applications … Read more

C – if…else statement

If the Boolean expression is true then the code inside the if statement block is executed or if it is false then the code inside else statement will be executed. Hence if..else statement. Syntax Syntax of if…else statement in C Language: If…else Flowchart: Example of if…else statement in C. The output of if…else statement in C. … Read more

Features of C

Features and advantages of C Simple and easy to learn. Fast, Powerful & Efficient. Procedural Language Portable language. Structured Programming Language Rich Library. Mid-Level Programming Language. Pointers/Recursion. Extensible 1. Simple and easy to learn.C is simple and easy to learn language as it provides a structured Language approach (i.e. to break the problem into modules), its rich set … Read more

C – nested if statements

This statement allows the user to use if block inside the other if block. And the inner if statement is executed only if the outer if statement’s condition is true. Syntax Syntax of nested if statement in C: nested if Flowchart: Example of nested if statement in C: The output of nested if statement in C. … Read more

C – Variables

What are variables in C? The variable is the basic unit of storage that holds the value while the program is executed. We can also say that it is a name given to the memory location. A variable is defined by data-types provided by C. It may belong to any data-types in C that can be … Read more

C – Program Structure

Before we start the basic building blocks of the C programming language, we must know the Program Structure of C for the building of programs. A C program basically consists of the following parts: Preprocessor Commands. Functions. Variables. Statement & Expressions. Comments. Let see the basic structure below to print Hello World: Now, let’s know … Read more