Variable Declaration in C, C Programming Assignment Help

Assignment Help: >> Introduction to C language >> Variable Declaration in C, C Programming

Variable Declaration in C Programming 

For variable declaration we follow these steps

1.       First we declare the type of variable name which we want to use in our program.

2.       Second we choose meaningful name for variable.

3.       If the variable name are same type then we can write together separated by (,) Then write with this format at the beginning of the program with semicolons.

Syntax:-Variable declaration

Data type variable < variable name>
Examples:  

int si, hra;
char stud_rec;
float bas_sal;

 

 

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd