Vidyalelo
Computer Science · Q233

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 233

Q233

Which of the following declares and initializes an Integer variable named numltems?

A.
int numltems = 0;
Answer
B.
int numltems = '0';
C.
integer numltems = 0;
D.
numltems int = 0;
E.
numltems integer = 0;

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board