Operators in C

Operators are symbols that help in performing operations of mathematical and logical nature.The classification of C operators are as follows Arithmetic Relational Logical Bitwise Assignment Conditional Uses of Operators in C:- The operators basically serve as symbols that operate on any value or variable. We use it for performing various operations- such as logical, arithmetic, …

Operators in C Read More »

Array in C

Array in C programming language is a collection of fixed size data belongings to the same data type. An array is a data structure which can store a number of variables of same data type in sequence. These similar elements could be of type int, float, double, char etc. Properties of Array in C : …

Array in C Read More »

Data Types in C

A data type in C refers to the type of data used to store the information. For example, the name of a person would be an array of characters, while the age will be in integers. Whereas, the marks of a student would require a data type that can store decimal values.In C language, four …

Data Types in C Read More »

Identifiers & Keywords in C

Identifiers in C:- Identifiers refer to the name of a variable, function and arrays. C Identifiers are names given to different entities such as constants, variables, structures, functions, etc. Examples :- int amount; double totalbalance; In the above example, amount and totalbalance are identifiers, and int and double are keywords. Rules for Identifiers:- First Character …

Identifiers & Keywords in C Read More »

type casting in c

C programming language is best known for offering various types of functionalities and features to the programmers. C also allows the programmers to do type casting.Typecasting and Type conversion are different things. In C, typecasting is a way to simply change the data type of a variable to another data type. Typecasting is so useful …

type casting in c Read More »

go to statement in c

The goto statement is known as jump statement in C. As the namesuggests, goto is used to transfer the program control to a predefinedlabel. The goto statment can be used to repeat some part of the code fora particular condition. It can also be used to break the multiple loops which can’t be done by …

go to statement in c Read More »

continue statement in c

The continue statement is used inside loops. When a continue statement is encountered inside a loop, control jumps to the beginning of the loop for next iteration, skipping the execution of statements inside the body of loop for the current iteration. The continue statement is used inside loops in C Language. When a continue statement …

continue statement in c Read More »

break statement in c

The break statement in C programming has the followingtwo usages: When a break statement is encountered inside a loop, the loop is Immediately terminated and the program control resumes at the next Statementfollowing the loop. It can be used to terminate a case in the switch statement . If you are using nested loops, the …

break statement in c Read More »

// Sticky ads
Your Poster