You are not logged in.

#1 2015-09-16 04:27:34

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

Declaration And Definition:

C Programming Quizzes C Language Fundamentals

Question:
What is the difference between a declaration and a definition of a variable?

Option A):
A definition occurs once, but a declaration may occur many times
Option B):
A declaration occurs once, but a definition may occur many times
Option C):
There is no difference between them
Option D):
Both can occur multiple times, but a definition must occur first

Correct Answer is Option B):
A declaration occurs once, but a definition may occur many times


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-09-16 04:27:34

Advertisement
Ads By Google

Re: Declaration And Definition:



Board footer