April 29, 2018

Arithmetic operators in C


   Arithmetic operators are used for numeric calculations. They are of two types:

  • Unary arithmetic operators
  • Binary arithmetic operators


April 27, 2018

C Operators and Expressions


   An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations.

April 19, 2018

When scanf() Function Stop Scanning


   The scanf() function scans each input field, character by character. It might stop scanning a particular input field before reaching the normal field-end character (whitespace), or it might terminate entirely.


April 14, 2018

Formatted Input and Output in C


   Formatting means representation of data with different settings as per the requirement of the user. The various settings that can be done are number format, field width, decimal points etc.

April 12, 2018

Input and Output in C


   Input means to feed some data into program and output means to display data on screen.


April 05, 2018

C Constants


   The constants refer to fixed values that cannot be changed during execution of the program. These fixed values are also called literals.