Operators in a C Programming

An operator is a symbol. It is used to tells the compiler to perform specific mathematical or logical functions. C language have a following types of built-in operators:− Arithmetic Operators Relational Operators Logical Operators Bitwise Operators Assignment Operators

Basics of C Programming

Tokens In a C language, token is either a keyword, a symbol ,an identifier, a constant or a string literal. A C program consists of various tokens for example, the following C program consists of five tokens −

The individual tokens are −

Comments Comments are the text in C program and they … Read more

Format Specifiers in C Programming

In C programming there are number of data types and format specifiers is used to defines the type of data to be printed. Whether to print output or to take input in both case we required format specifiers. Format specifiers are also called as format string. list of format specifiers used in C language. Format … Read more

Variables in C Programming

Variables is a name given to memory location.              int x =10;                                                                                             here, x is a integer variable.                                                      Integer variable x is a name given to memory location and where we stored integer value10. Initialize multiple variable : we can also initialize multipleby comma separated list. int  a,b,c;          Here, we have initialized … Read more

A Simple C Program

A simple C program basically consists of the following parts − Preprocessor Commands Functions Variables Statements & Expressions Comments Basic structure of C program #include

 Above shown the basic structure of C program. For every program we have to write above mention basic structure. How to write or print We can write or print … Read more