HSB - Bcom I Year C & C++
HSB - Bcom I Year C & C++
10 X 1/2=10
Choose the Best Answer to a Question
1) Which of the following is a logical OR operator?
A-& B - && C - || D - None of the above
2) Which of the following is not a valid variable name declaration?
A. int __a3; B. int __3a; C int __A3; D. None of the mentioned
7) Variable name resolution (number of significant characters for the uniqueness of variable)
depends on ___________
a) Compiler and linker implementations b) Assemblers and loaders implementations
c) C language d) None of the mentioned
8) The format identifier „%ld‟ is also used for _____ data type?
A. long B. int C. float D. double
9) The format identifier „%u‟ is also used for _____ data type?
A. char B. int C. float D. double
10) Which among the following is odd one out?