C – typedef

2020 VietMX 167

The C programming language provides a keyword called typedef, which you can use to give a type a new name. Following is an example to define […]

C – Bit Fields

2020 VietMX 46

Suppose your C program contains a number of TRUE/FALSE variables grouped in a structure called status, as follows − This structure requires 8 bytes of […]

C – Unions

2020 VietMX 158

A union is a special data type available in C that allows to store different data types in the same memory location. You can define a union […]

C – Structures

2020 VietMX 23

Arrays allow to define type of variables that can hold several data items of the same kind. Similarly structure is another user defined data type available in […]

C – Strings

2020 VietMX 7

Strings are actually one-dimensional array of characters terminated by a null character ‘\0’. Thus a null-terminated string contains the characters that comprise the string followed by a null. […]

C – Pointers

2020 VietMX 146

Pointers in C are easy and fun to learn. Some C programming tasks are performed more easily with pointers, and other tasks, such as dynamic […]

C – Arrays

2020 VietMX 127

Arrays a kind of data structure that can store a fixed-size sequential collection of elements of the same type. An array is used to store […]

C – Scope Rules

2020 VietMX 0

A scope in any programming is a region of the program where a defined variable can have its existence and beyond that variable it cannot […]

C – Functions

2020 VietMX 117

A function is a group of statements that together perform a task. Every C program has at least one function, which is main(), and all the […]

C – Loops

2020 VietMX 171

C – Loops You may encounter situations, when a block of code needs to be executed several number of times. In general, statements are executed […]

C – Decision Making

2020 VietMX 94

Decision making structures require that the programmer specifies one or more conditions to be evaluated or tested by the program, along with a statement or […]

C – Operators

2020 VietMX 91

An operator is a symbol that tells the compiler to perform specific mathematical or logical functions. C language is rich in built-in operators and provides […]

C – Storage Classes

2020 VietMX 1

A storage class defines the scope (visibility) and life-time of variables and/or functions within a C Program. They precede the type that they modify. We […]

C – Variables

2020 VietMX 99

A variable is nothing but a name given to a storage area that our programs can manipulate. Each variable in C has a specific type, […]

C – Data Types

2020 VietMX 0

Data types in c refer to an extensive system used for declaring variables or functions of different types. The type of a variable determines how […]

C – Basic Syntax

2020 VietMX 4

You have seen the basic structure of a C program, so it will be easy to understand other basic building blocks of the C programming […]

C Language – Overview

2020 VietMX 97

C is a general-purpose, high-level language that was originally developed by Dennis M. Ritchie to develop the UNIX operating system at Bell Labs. C was […]