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 |
Function calling procedures? and their differences? Why should one go for Call by Reference?
actually i have 2 years teaching experience as computer faculty but now i am a DBA but when i go for interview many peoples asked me why i left my teaching profession and why i want to come in this field kindly give me the proper answer of this queston
Are pointers integer?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW IT COME .. #include<stdio.h> #include<conio.h> void main() { int k=20; printf("%d%d%d%d",k,k++,++k,k); getch(); }
read an array and search an element
Write a program to write a given string in maximum possibilities? i.e str[5]="reddy"; i.e we can write this string in 120 ways for that write a program
What is the purpose of Scanf Print, getchar, putchar, function?
what is output? main() { #define SQR(x) x++ * ++x int i = 3; printf(" %d %d ",SQR(i),i * SQR(i)); } a)9 27 b)35 60 c)20 60 d)15 175
Can we initialize extern variable in c?
Why can't I perform arithmetic on a void* pointer?
1. What will be the output of the following programs. a) #include <stdio.h> Main() { Int x=4; While(x==1) { X=x-1; Printf(ā%dā,x); --x; } }