C Programming Language

Programming in C

C Programming Language

  1. C is the structured programming language. It uses structured statements such as while for,...}

Character Set of C Programming Language

Programming in C

Character Set of C Programming Language

  1. The C character set consists of upper and lowercase alphabets, digits, special characters a...}

Displaying Variables

Programming in C

Displaying Variables

  1. The output of the program is 10. The variable num is defined before it is used. A value 10...}

Constants

Programming in C

Constants

  1. Constants are a fixed entity which does not change its value during the entire program exec...}

Library Functions

Programming in C

Library Functions

  1. A library function is accessed simply by writing the function name, followed by a list of a...}

Control Structures

Programming in C

Control Structures

  1. Branching is carried out after the selection of a choice.
  2. The logical expression,...}

The Switch Statement

Programming in C

The Switch Statement

  1. The switch statement is useful when a variable is too compared with different constants, an...}

Looping with do…while Statement

Programming in C

Looping with do…while Statement

  1. The do..while loop evaluates the condition after the execution of the statements in its con...}

Functions

Programming in C

Functions

  1. A number of statements grouped into a single logical unit are called as function. It is tru...}

Function Definition

Programming in C

Function Definition

  1. The function prototype is the outline of a general function.
  2. A variable explicitly...}

Array and Strings

Programming in C

Array and Strings

  1. The individual data items can be characters, integers, floating point numbers, etc. However...}

Two Dimensional Arrays

Programming in C

Two Dimensional Arrays

 

  1. An array holds elements that have the same data type, array elements are stor...}

Array with Function

Programming in C

Array with Function

  1. The array can be passed as arguments to functions. An array can be passed as an argument fr...}

String Manipulating Functions

Programming in C

String Manipulating Functions

  1. The handling of string is totally different from handling the numbers. Some of the importan...}

Dereferencing Pointers

Programming in C

Dereferencing Pointers

  1. Dereferencing is an operation performed to access and manipulate data obtained in the memor...}