1/ Which one is not a correct variable type in C++: B.real A.float C.int D.double 2/ Which operation is used as Logical 'AND'. A. Operator-& B. Operator-| C. Operator-&& D. Operator-+ 3/Which of the following commands is true in C++ language? A. if ( x-1) B. if (x-1); C. if [x=1] D. none of them

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter4: Selection Structures
Section4.5: A Case Study: Solving Quadratic Equations
Problem 7E
icon
Related questions
Question
I need the answer as soon as possible
Q1: Choose the correct answer
1/ Which one is not a correct variable type in C++:
A.float
B.real
C.int
D.double
2/ Which operation is used as Logical 'AND'.
A. Operator-& B. Operator-|| C. Operator-&&
D. Operator-+
3/ Which of the following commands is true in C++ language?
A. if (x-1)
B. if (x-1);
C. if [x-1]
D. none of them
4/ Which of the following is used for comments in C++?
A. I/ comment
B. /* comment */
D. // comment */
C. both // comment or /* comment *
5/ The modulus operator uses.
B. *
character.
A. +
C./
D. %
6/ Variable names must begin with
A. letter
В. S
C. number
D. #
Transcribed Image Text:Q1: Choose the correct answer 1/ Which one is not a correct variable type in C++: A.float B.real C.int D.double 2/ Which operation is used as Logical 'AND'. A. Operator-& B. Operator-|| C. Operator-&& D. Operator-+ 3/ Which of the following commands is true in C++ language? A. if (x-1) B. if (x-1); C. if [x-1] D. none of them 4/ Which of the following is used for comments in C++? A. I/ comment B. /* comment */ D. // comment */ C. both // comment or /* comment * 5/ The modulus operator uses. B. * character. A. + C./ D. % 6/ Variable names must begin with A. letter В. S C. number D. #
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning