Computer Science, asked by diptijaveri8461, 1 year ago

What is the difference between a declaration and a definition of a variable?
A.Both can occur multiple times, but a declaration must occur first.
B.A definition occurs once, but a declaration may occur many times.
C.Both can occur multiple times, but a definition must occur first.
D.A declaration occurs once, but a definition may occur many times.

Answers

Answered by Anonymous
0
. A definition occurs once, but a declaration may occur many times. C. Both can occur multiple times, but a definition must occur first.
Answered by Vaishnavi18
0
the difference between a declaration and a definition of a variable is A declaration occurs once, but a definition may occur many times.
Similar questions