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
How to create a DLL in C++.net 2005 which we can use in VB 6.0 application ?
What is microsoft visual c++ 2015 redistributable package x64?
Explain the important features of vc++?
What is mfc in vc++?
What is microsoft visual c++ runtime library error?
How can we use cmutex?
What is visual c++ runtime error?
Explain some of commonly used methods provided by iunknown.
Do you need microsoft visual c++?
How do I uninstall and reinstall microsoft visual c++ runtime libraries?
How do I reinstall microsoft visual c++?
What is microsoft visual c++ 2015 redistributable?
What is microsoft visual c++ 2005 redistributable?
Do I need microsoft visual c++ 2005 redistributable on my computer?
Explain pointer to the constant and constant pointer? Explain difference between them.