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 |
Suppose multiple threads accessing a registry key at a time. In that case which synchronization object you will use?
What is odbc in vc ++?
Which steps are required to add a column to a list view?
What is iunknown?
Is it safe to uninstall microsoft visual c++ 2008 redistributable?
What is the difference between Boxing and Unboxing in C#
What is cmutex?
How do I fix microsoft visual c++ 2015 setup failed?
What is a glyph?
Difference between getmessage, postmessage & peakmessage.
How will slove problem comes wirh Hybrid Inheritance?
What is the difference between an MLE and an SLE?