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 the difference between Boxing and Unboxing in C#
Do I need all the microsoft visual c++ redistributable?
What are the advantages of a message map
What is vc++ redistributable?
Do I need microsoft visual c++?
Do you need microsoft visual c++?
What keyboard editor command is used for Undo?
Can I remove microsoft visual c++?
What is command routing in VC++
What is ole? How do you handle drag and drop in ole?
What is the Use of the Developer Studio Editor?
Explain the important features of vc++?