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
What are default parameters? How are they evaluated in c++ function?
What is lvalue?
What is the use of endl in c++?
Can comments be nested?
What are mutator methods in c++?
Can a function take variable length arguments, if yes, how?
What is scope in c++ with example?
Can member data be public?
How long will it take to learn programming?
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.
If a function doesn’t return a value, how do you declare the function?
Explain friend class?
What are arithmetic operators?
What do you mean by “this” pointer?
What is a set in c++?