Thursday, July 9, 2009

Which of the following is a valid C++ array name and the element's?

A) float $payments[10];


B) int array [10];


C) void numbers[5];


D) int array[0];


E) none

Which of the following is a valid C++ array name and the element's?
B is the answer.
Reply:D also right eventhough it does not allocate any memory space


No comments:

Post a Comment