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
What is iunknown?
What is vc++ programming?
hello sir i need movie editing and mixing software .where it is available and what is the site address
How do I reinstall visual c++ on windows 10?
Does visual c++ 2017 replace 2015?
What is cmutex? How can we use it?
How do I uninstall vc++ 2015?
Do I need microsoft visual c++?
What is visual c++ 2010 redistributable package x64?
How many microsoft visual c++ do you need?
What is microsoft visual c++ 2013 redistributable?
What is microsoft visual c++ 2015 redistributable package x64?
What is the difference between an MLE and an SLE?
What is microsoft visual c++ used for?
Explain pointer to the constant and constant pointer?