Which of the declaration is correct?
A. int length;
B. char int;
C. int long;
D. float double;
Answers
Answered by
55
no. A will be the answer
Answered by
1
Answer
int duration; protestation is accurate.
Explanation
int duration; suggests that the variable duration is of the kind int( integer).
Explanation for wrong answers
- housekeeper int; the key-word int can't be used as a variable name.
- lengthy is a key-word that can't be used as a variable name.
- Because double is a key-word, it can't be used as a variable name. So, int duration is the answer.
Hence int duration; is accurate answer.
#SPJ2
Similar questions