WHAT IS MAXIMUM SIZE OF AN ARRAY IN C LANGUAGE?
Answers were Sorted based on User's Feedback
Answer / mohit
if array is of integer type then max size should be
65536.(ie total range for integers).however it shows array
size too large.for character data type the range 65536 is valid.
Is This Answer Correct ? | 40 Yes | 12 No |
Answer / gagandeep kaur
max size of an array is depends upon its datatype
Is This Answer Correct ? | 31 Yes | 6 No |
Answer / seema choudhary
Depending upon a data type
integer datatype it limits is 65536 i.e range of the
integer data type
Is This Answer Correct ? | 5 Yes | 3 No |
Answer / himani
integer datatype limit is array size limit. for systems with
2 byte integers...limit is 65535
Is This Answer Correct ? | 3 Yes | 3 No |
Answer / vijay
max size of characfter array is 80.
max size of int or float array is equal to their range.
Is This Answer Correct ? | 6 Yes | 28 No |
general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only
write a program for the normal snake games find in most of the mobiles.
print the pattern 1 2 4 3 6 9 4 8 12 16 5 10 15 20 25 if n=5
`write a program to display the recomended action depends on a color of trafic light using nested if statments
Can you assign a different address to an array tag?
What is a struct c#?
. Write a program to get a string and to convert the 1st letter of it to uppercase
Explain the use of 'auto' keyword
print pattern 1 1 33 33 555 555 77777777 555 555 33 33 1 1
void main() { int i=5; printf("%d",i++ + ++i); }
What is derived datatype in c?
Write a C program that defines a 2-dimentional integer array called A [50][50]. Then the elements of this array should randomly be initialized either to 1 or 0. The program should then print out all the elements in the diagonal (i.e. a[0][0], a[1][1],a[2][2], a[3][3], ……..a[49][49]). Finally, print out how many zeros and ones in the diagonal.