adplus-dvertising
frame-decoration

Question

The total number of elements that can be stored in a string without increasing its current amount of allocated memory is called its:

a.

Size

b.

Length

c.

Capacity

d.

Maximum size

Answer: (c).Capacity

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The total number of elements that can be stored in a string without increasing its current amount of allocated memory is called its:

Similar Questions

Discover Related MCQs

Q. A double sub-scripted array declared as int a[ 3 ][ 5 ]; has how many elements?

Q. Using square brackets ([]) to retrieve vector elements .............. perform bounds checking; using member function at to retrieve vector elements ................ perform bounds checking.

Q. The largest element of an array index is called its .................

Q. The information about an array that is used in a program will be stored in

Q. Which of the following expressions accesses the (i,j)th entry of an (m x n) matrix stored in column major form?

Q. Sparse matrices have

Q. For a linear search in an array of n elements the time complexity for best, worst and average case are ......., ....... and ........ respectively

Q. The expression which accesses the (ij)th entry of am x n matrix stored in column majorform is

Q. An object that can be used in accessing another object, is known to be

Q. Basic mechanism for storing a large number of identically-typed objects are known to be

Q. Basic technique of using an array which is considered safer and easier is named as

Q. A collection of objects that are residing in one unit, is called

Q. Primitive method of using an array is said to be

Q. A collection of objects that need not be of same type, are stored in an

Q. Declaration and usage of arrays can be of basic numbered ways of

Q. Alter method of using an array is called

Q. Terminology that provides indirect access rather than direct access to an object, is said to be

Q. Which of these best describes an array?

Q. Assuming int is of 4 bytes, what is the size of int arr[15];?

Q. How do you initialize an array in C?