Variables in C

Previous
Next

Variable:

  • The most important concept of every programming language is Variables.
  • The main aim of every application is store and process the information.
  • We store the information into memory using variables.

Definition:

  • Variable is an identity of memory location.

Or

  • Named memory location

Classification of variables: We can classify variables into 2 types

  1. Local variables
  2. Global variables.

Note: To understand the concept of variables, first we need to understand the function programs. Let us see some example codes on functions before learning classification of variables.

Previous
Next

Add Comment

Courses Enquiry Form