+ 2

What's the difference between declaring and defining?

22nd Jul 2017, 7:34 AM
Shobhit Porwal
Shobhit Porwal - avatar
2 Answers
+ 2
declare is like giving a name for a func (like giving a name for ur doll), but defining is like explaining the func or what it does (like defining human= walks, interacts, etc.
22nd Jul 2017, 8:06 AM
Toper664
Toper664 - avatar
+ 1
if i'm not mistaken :)
22nd Jul 2017, 8:06 AM
Toper664
Toper664 - avatar