A variable is a memory location inside memory which is referred using a name. The value inside a variable changes throughout the execution of the program. Based on where the variable is declared in the program, variables can be divided into two types. They are: Local Variables Global Variables Local Variables A variable is said to be a local variable if it is declared inside a function or inside a block. The scope of the local variable is within the function or block in which it was declared. A local variable remains in memory until the execution of the
The post What are the different types of variables in C programming appeared first on Coding Security.
What are the different types of variables in C programming
read more
Tidak ada komentar:
Posting Komentar