0
Difference between Declaration and Definition of a variable.
2 Respostas
+ 5
Declaration
=========
int x;
Definition
========
x = 50;
Both
====
int x = 50;
0
to declare means you are simply telling the programme that a variable exists and what type it is
to define (or assign) a variable means you are telling the programme what the variable represents (or what is put into it in layman’s terms)