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 |
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 the file extension used for C++ class implementation files?
What is the return value when the InsertItem function fails?
What is splitter window in vc++?
How do I uninstall visual c++?
Difference between critical section, mutex and semaphore.
what is DLL?
What is a microsoft visual c++ 2008 redistributable?
What is odbc in vc ++?
What is a mnemonic?
What is more efficient to pass as a parameter--a pointer or an object? Why?
What is difference between c++ and vc++?