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 |
Is visual c++ still used?
Is it safe to uninstall microsoft visual c++ 2008 redistributable?
What is the default label used for in a switch statement?
What is microsoft visual c++ 2010 x86 redistributable?
Can I uninstall visual c++ 2005?
What is iunknown? Explain some of commonly used methods provided by iunknown.
What is the difference between the cout and cin iostream objects?
I have to DLL one is COM dll and another is normal DLL. How I can identify which dll is normal DLL and which DLL is from COM DLL. please give me some clear picture on these
What is vcredist?
How to Use mfc71d.dll not mfc71.dll ?
What is visual c++ redistributable?
How do I uninstall visual c++?