What is the Maximum Size that an Array can hold?

Answer Posted / manoj

The size in Arrays is basically of type int. An int in java
is of 32 bits, so the maximum size we can give is 2,147,483,647.

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are default parameters? How are they evaluated in c++ function?

663


What is lvalue?

693


What is the use of endl in c++?

591


Can comments be nested?

624


What are mutator methods in c++?

641






Can a function take variable length arguments, if yes, how?

565


What is scope in c++ with example?

628


Can member data be public?

595


How long will it take to learn programming?

582


A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.

3402


If a function doesn’t return a value, how do you declare the function?

610


Explain friend class?

622


What are arithmetic operators?

533


What do you mean by “this” pointer?

615


What is a set in c++?

531