What is Variable Declaration ?

C Programming Language >   Variable in C Language >   Variable Introduction in C  

Short Question

877


Answer:

Variables should be declared either outside a function or at the start of a block of code, after the opening { and before any other statements.

int miles, yards; /* global variables */
main()
{
float kilometres; /* local variables */


This Particular section is dedicated to Question & Answer only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.