What are Functions? 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 most trivial…
Category: B.Tech./1Sem/Computer System and Programming in C
Logical Operators
Logical Operators These operators are used to perform logical operations on the given expressions. There are 3 logical operators in C language. They are, logical AND (&&), logical OR (||)…
Relational Operators
Relational Operators Relational operators are used to find the relation between two variables. i.e. to compare the values of two variables in a C program. The following table shows all…
Arithmetic Operators
What are Arithmetic Operators? Arithmetic Operators are used to performing mathematical calculations like addition (+), subtraction (-), multiplication (*), division (/) and modulus (%). The following table shows all the…
Operators
Operators: C language supports a rich set of built-in operators. An operator is a symbol that tells the compiler to perform a certain mathematical or logical manipulation. Operators are used…
Short
Data Types In C 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 much…
Integer
What is int Data Type? Integer types can be signed (with negative values) or unsigned values (only positive). Int values are always signed unless specifically mentioned. Integer types are further…
Character
What is Char Data Type? The CHAR data type stores character data in a fixed-length field. Data can be a string of single-byte or multibyte letters, numbers, and other characters…
Fundamental data types
Fundamental data types Each variable in C has an associated data type. Each data type requires different amounts of memory and has some specific operations which can be performed over…
Storage Classes
What are Storage Classes? Storage Classes are used to describe the features of a variable/function. These features basically include the scope, visibility and life-time which help us to trace the…