Assignment operator in C- Detail explanation with example and syntax

Assignment operator in C- Detail explanation with example and syntax

 Assignment operator 

The Assignment C operator, which used to assign the value of expansion into variables.

Syntax

       Variable=expression

Example

      Sum=num1+num2

In the above example, the sum is a variable and num1+num2 is an expression. Where the value of num1+num2 is store in the sum variable




Post a Comment

0 Comments