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

Is it safe to uninstall microsoft visual c++ 2008 redistributable?

1013


Is visual c++ the same as c++?

1019


Explain the important features of vc++?

961


How do I install microsoft visual c++ 2015?

945


Do I need microsoft visual c++?

958


What is microsoft visual c++ 2013 redistributable?

1006


What is microsoft visual c++ runtime library error?

1024


What is a microsoft visual c++ 2008 redistributable?

926


How do I reinstall microsoft visual c++?

932


What is iunknown? Explain some of commonly used methods provided by iunknown.

1025


Do I need microsoft visual c++ 2005 redistributable on my computer?

1068


What is visual c++ runtime?

968


What is microsoft visual c++ 2005 redistributable?

993


How do I get rid of microsoft visual c++ runtime library error?

1096


What is microsoft visual c++ 2015 redistributable?

1037