Vidyalelo
C++ Programming · Q441

C++ miscellaneous

Programming · C++ Programming · question 441

Q441

What is the use of empty() function in array classes?

A.
To check whether the size of an array is zero or not
Answer
B.
To check whether an array is empty or not
C.
To check how many elements are there in the array
D.
To check whether an array contains negative elements or not

Answer: Option A

Solution

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