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 |
What does a run-time "null pointer assignment" error mean?
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer
What is the use of the restrict keyword?
Can we declare variables anywhere in c?
diff. between *p and **p
How do you search data in a data file using random access method?
Write a program to produce the following output in c language? 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
#include <stdio.h> #define sqr(x) (x*x) int main() { int x=2; printf("value of x=%d",sqr(x+1)); } What is the value of x?
16 Answers Accel Frontline, Opera, Oracle,
how can i get output like this? 1 2 3 4 5 6
what is the difference between while and do while?
how 2 compile & execute c program with out using editor?