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 iunknown?

959


What is vc++ programming?

1082


hello sir i need movie editing and mixing software .where it is available and what is the site address

2143


How do I reinstall visual c++ on windows 10?

981


Does visual c++ 2017 replace 2015?

966


What is cmutex? How can we use it?

997


How do I uninstall vc++ 2015?

895


Do I need microsoft visual c++?

1006


What is visual c++ 2010 redistributable package x64?

994


How many microsoft visual c++ do you need?

1094


What is microsoft visual c++ 2013 redistributable?

1052


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

994


What is the difference between an MLE and an SLE?

6539


What is microsoft visual c++ used for?

1009


Explain pointer to the constant and constant pointer?

906