What is Variable Declaration ?

Short Answer
Views 762

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 */

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of C Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.