1. Which of the following statements are NOT valid? LA) double menu == 4.9; B) i
ID: 638247 • Letter: 1
Question
1. Which of the following statements are NOT valid? LA) double menu == 4.9; B) int return; CIC) int value = 5.0; OD) (menu == 7) OE) int x = 2; 2. Place the following statements in the order they should appear in the program : A) #include 4B) int value # 1 C) int main () D) return 0; E) value = 5; 3. When using a constant integer, the value can be changed when the program executes OA) True (OB) False 4. Which of the following statements can be used to declare and initialize an integer; OA) none of the answers are correct (OB) value = 5; OC) int value == 4; OD) int value 3Explanation / Answer
1. a is not valid, instead of == it should be =
2) a, c, b, e, d
3) a, as it is the name of integers
4) d
5)int n;
cin>> n;
6) c , e, b, d, f, a
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.