What are Declaration Statements ?

 Posted by Chvrsri on 6/3/2011 | Category: C# Interview questions | Views: 6230 | Points: 40
Answer:

A Declaration Statement declares a Local Variable or Constant Variable .

These Statements are allowed in blocks but are not permitted as Embedded Statements.

Declaration can be done in this way :


declaration-statement:
local-variable-declaration ;
local-constant-declaration ;


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Akiii on: 6/4/2011 | Points: 10
please, give us some examples.....
it will be better..

Thanks and Regards
Akiii

Login to post response