C language has following special Operators: Operator Description Example sizeof Returns the size of an variable sizeof(x) return size of the variable x & Returns th…
There are different Assignment operators in c these are given in following table Operator Description Example = assigns values from right side operands to left side operand a=b …
1.It is a type of data which is used in the program. 2.There are many predefined data types in c library like int, char, float etc. Basic Type Integer Type(int) Floating Type(float) Character Type(char) Derived Type Pointer Arr…
C supports following rational operators: Operator Description == Check if two operands are equal. != Check if two operands are not equal. > Check if the operand …
C language supports all the basic arithmetic operations. addition, subtraction, multiplication and subtraction are performed on numerical data types like int , float, double The different arithmetic operators are shown in Ta…
program: # include <stdio.h> int main () { float miles, kilometers; printf ( "Enter distance in Miles: " ); scanf ( "%f" , &miles); //Formula to covert miles into km is we just have to multi…
Identifiers: identifiers are nothing but the name given to variables, constants, functions and user-defined data. Rules for an identifier: Keywords are not allowed to use as an identifier. Identifier may contains ( a-z, A-Z, 0…
What are operators in C? A symbol which used to perform logical and mathematical operations in c is known as operators . C language supports a rich set of built-in operators. Operators used to manipulate variables and data. The…
What is Variable in C? Variable is the name of the memory location where the data is stored. Unlike the constant, the value of variables can be changed while the execution of the program. The programmer should choose a meaningful…
In this tutorial we are going to learn how to install Code::Blocks compiler on Windows OS. What is Compiler? When we write any program we write it in human-readable form. The compiler is a program/software that processes code w…