What is the Maximum Size that an Array can hold?
Answer Posted / alok
Dude in C memory management we have for segments namely
data code heap and stack. any local variable resides in
stack. Hence array should be less than size of stack. Please
refer memory models in C to find stack size. similar is true
for global array. That will reside in data segment.
| Is This Answer Correct ? | 4 Yes | 14 No |
Post New Answer View All Answers
What is endl c++?
Explain "const" reference arguments in function?
Difference between declaration and definition of a variable.
Why isn't sizeof for a struct equal to the sum of sizeof of each member?
Why do we use using namespace std in c++?
What is the full form of c++?
Array base access faster or pointer base access is faster?
Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?
Who invented turbo c++?
What is a binary file? List the merits and demerits of the binary file usagein C++.
what is Member Functions in Classes?
Differentiate between the manipulator and setf( ) function?
List down the guideline that should be followed while using friend function.
What are c++ templates used for?
I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.