Constant and Variable

  1. y = x + 5, See the expression carefully.
  2. It is clear that if we change the value of x the value of y is also changed but the 5 remains the same every time.
  3. So, x and y are the variables but 5 is a constant.
Previous Back to C Programming index Next


Popular posts from this blog

Overview of Go lang

Arrays in C Language

Program to calculate telephone bill

String in golang

Data Types in Go language

Installing go lang

Say Hello world in Go lang

Creating your first html page

Arrays in Go lang

Decision Making in Go lang