Programming

Data type in C language

The data type determines a set of values that a variable can have and the possible operations that can be performed on these values. For the declaration of each variable, we have to attach some data types. The data type defines:- the amount of storage allocated to variables, the values that they can accept, and […]

Data type in C language Read More »

Keywords in C language

Keywords are predefined reserved words in the C language that have a special meaning and cannot be used as variable names, function names, or any other identifiers in the program. These keywords are part of the syntax and grammar of the language and are used to define the structure of the program. What Are Keywords?

Keywords in C language Read More »

constants in c language

A constant is an entity whose value remains the same throughout the execution of the program. It can not be placed on the left side of an assignment operator. It can only be placed on the right side of the assignment operator. Types of constants in C language In c Constant are classified as: 1)

constants in c language Read More »

Identifiers in c language

Identifiers are user-defined names used to identify variables, functions, arrays, structures, and other entities in a C program. Identifiers are an essential part of any programming language, including C, and must follow specific rules to be valid. Here are some of the rules for creating identifiers in C: Here are some examples of valid and

Identifiers in c language Read More »

Variable in c language

An entity that may vary during program execution is called a variable. Variable names are names given to locations in memory. These locations can contain integer, real, or character constants. Consider the following example. Rules of constucting variable Name:- How to declare variables? Whatever variable we are going to use in our program at first

Variable in c language Read More »