answersLogoWhite

0

Platform-dependent.

User Avatar

Wiki User

15y ago

What else can I help you with?

Continue Learning about Engineering

What is sparce array?

sparse array is one which has contents lower than its maximum size, that is the array has free or empty locations....


How you get the size of arrays from user?

in c simply add three lines in the begining of your program: int x; printf("enter the size of the array to be entered :"); scanf("%d",&x); after that use x as your maximum limit of array in your program. in c++ just replace above printf & scanf statements by cout<<"enter the size of the array to be entered :"; & cin>>x; respectively and do not use brackets.


How do you determine the size of an array of int passed to a method?

It really depends on the language. In Java, you can use the .length property.


Is it necessary to give the size of array?

Depends on the language. For C, no you don't. You can type blank brackets (int Arr[]) when declaring the array, or you can just use a pointer (int* Arr). Both will allow you to use the variable as an array without having to declare the specific size. Hope this answers your question. In Java, an array is an object, and one which is dynamically allocated space. The default constructor does not require a size be specified.


What is the maximum integer allowed in an integer-type variable?

That varies from each programming language. As a matter of fact, many languages do not put a limit on the maximum size of a variable. It will handle any string, integer, resource, pointer, or other type size, as long as it fits into the memory of the machine running the process.

Related Questions

What is the maximum number of entries that can be placed in the chained hash table?

The maximum number of entries that can be placed in a chained hash table is determined by the size of the underlying array used for storage. Each bucket in the array can hold multiple entries due to chaining, so the total number of entries that can be stored is dependent on the size of the array and the hashing function used.


What is the maximum size of array in c?

Platform-dependent.


What is sparce array?

sparse array is one which has contents lower than its maximum size, that is the array has free or empty locations....


What is the maximum size limit for checked luggage on this airline?

The maximum size limit for checked luggage on this airline is 62 linear inches.


What is the maximum size limit for luggage in linear inches allowed on this flight?

The maximum size limit for luggage on this flight is 62 linear inches.


What is the maximum size limit for luggage, measured at 62 inches, allowed on this flight?

The maximum size limit for luggage on this flight is 62 inches.


Is there a maximum size limit to a black hole?

No.


What is the maximum size limit for checked baggage in linear inches?

The maximum size limit for checked baggage in linear inches is typically 62 inches.


How you get the size of arrays from user?

in c simply add three lines in the begining of your program: int x; printf("enter the size of the array to be entered :"); scanf("%d",&x); after that use x as your maximum limit of array in your program. in c++ just replace above printf & scanf statements by cout<<"enter the size of the array to be entered :"; & cin>>x; respectively and do not use brackets.


What is the maximum size limit for carry-on luggage on this airline?

The maximum size limit for carry-on luggage on this airline is typically 22 x 14 x 9 inches.


What is the maximum size of int what happes when we cross that limit?

The maximum size of INT is 1. If you go over then it will be an error.


How do you determine the size of an array of int passed to a method?

It really depends on the language. In Java, you can use the .length property.