How to declare more than one variable on a single line?
Answers were Sorted based on User's Feedback
Answer / 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 |
What is microsoft visual c++ 2005 redistributable?
What is a wizard?
What is the return value when the InsertItem function fails?
What is vcruntime?
Does visual c++ 2017 replace 2015?
What are some differences between a form view and a dialog box?
2 Answers DS Group, Manipal Ecommerce,
Explain the significance of initapplication() in vc++.
How do I reinstall visual c++ on windows 10?
What is the default label used for in a switch statement?
What is the use of DDV and DDX routines ?
Can I uninstall visual c++?
What is visual c++ used for?