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 microsoft visual c++ used for?
Is microsoft visual c++ important?
What is vcruntime?
What is mfc in vc++?
Can I uninstall visual c++?
What is microsoft visual c++ 2013 redistributable package x64?
How do I remove microsoft visual c++ 2015 redistributable?
Explain the important features of vc++?
Can I uninstall visual c++ 2005?
How do I reinstall microsoft visual c++?
Explain pointer to the constant and constant pointer? Explain difference between them.
What is vc++ redistributable?
Explain the significance of initapplication() in vc++.
Do you need microsoft visual c++?
How do you handle drag and drop in ole?