Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to declare more than one variable on a single line?

Answer Posted / n

To declare multiple variables of same datatype use comma.
eg. int n1, n2, n3;
To declare variables of different datatype on a single line
use semicolon.
eg. int n; char ch; float f;

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is microsoft visual c++ used for?

1066


Is microsoft visual c++ important?

1121


What is vcruntime?

1084


What is mfc in vc++?

1172


Can I uninstall visual c++?

1073


What is microsoft visual c++ 2013 redistributable package x64?

1058


How do I remove microsoft visual c++ 2015 redistributable?

1124


Explain the important features of vc++?

1082


Can I uninstall visual c++ 2005?

1029


How do I reinstall microsoft visual c++?

1050


Explain pointer to the constant and constant pointer? Explain difference between them.

1195


What is vc++ redistributable?

1360


Explain the significance of initapplication() in vc++.

1177


Do you need microsoft visual c++?

1123


How do you handle drag and drop in ole?

1079