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 |
Which steps are required to add a column to a list view?
Difference between getmessage, postmessage & peakmessage.
What is the default label used for in a switch statement?
Do I need microsoft visual c++ on my computer?
How do I reinstall visual c++ on windows 10?
What is microsoft visual c++ runtime library error?
What is an overlapped image?
What is iunknown?
Is visual c++ a compiler?
TO start the build process in Developer Studio Which keyboard function is used ?
What are the two forms of the #include preprocessor directive?
How a dll will be sharable by more than one exe?