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 |
How can we allow no selection of radio button in grouped radio buttons?
Explain pointer to the constant and constant pointer?
What is vcredist?
How can i communicate with two systems one is located some place another is located 100km how from the current systems which protocala i have to use
What is cwinthread class? Explain its advantages.
What is cmutex?
What is a mnemonic?
Difference between critical section, mutex and semaphore.
What function is used to trap all mouse messages?
How do I reinstall visual c++ on windows 10?
Can I uninstall visual c++ 2005?
What is splitter window in vc++?