c tutorial

Special Operators in C

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…

Assignment Operators in C

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 …

Bitwise Operators in C

Bitwise Operators in C are as follows: Operator Description & Bitwise AND | Bitwise OR ^ Bitwise exclusive OR << Left shift &g…

Logical Operators in C

C language supports these following logical operators: Operator Description Example && Logical AND (a && b) is false || Logical OR (a || b) is true …

Relational Operators in C

C supports following rational operators: Operator Description == Check if two operands are equal. != Check if two operands are not equal. > Check if the operand …

Arithmetic Operators in C

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…

Identifies in C

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…

Types of Operators in C

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 keyword in C? List of Keywords

What is Keywords? Keywords are nothing but predefined words who have special meaning to the compiler. Keywords are meant to perform a special function in the c program. Keywords can not be used as a variable name. And all keywo…

Hello World in c language explained

Program: # include <stdio.h> int main () { /*my first C program*/ print( "Hello world!" ); return 0 ; }  Output: #include<stdio.h> First line #include<stdio.h> is a preprocessor command which…

Overview of C Programming Language

Overview of C: C is developed by Dennis Ritchie in 1973 at the Bell Laboratory to developer UNIX operating system. Today C is the widely used language because of its structure,  machine-independent feature and high level of abstr…

History, Features, Applications of C

History: C programming is a general-purpose language which is closely associated with the UNIX operating system. C developed in 1972 by Dennis Ritchie for use with UNIX operating system which is currently base of many UNIX ope…

Load More
That is All