✏️ Explanatory Question

What is Variable Declaration ?

👁 829 Views
📘 Detailed Answer
💡

Answer with Explanation

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