Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

int A[11]; how many elements can be stored in it

+13 votes
asked Jan 10, 2018 by Tanveer Hussain

28 Answers

0 votes
answered Jun 5, 2018 by Nikhil Kakkireni (320 points)
11 elements only

since array starts from 0th position and ends with 10th position
0 votes
answered Jun 5, 2018 by Saurabh (600 points)
11 element can be stored in this array.
0 votes
answered Jun 6, 2018 by anonymous
it creates the integer array with 11 memory blocks you can store up to 11 integer type data in it
0 votes
answered Jun 12, 2018 by moturi sai (140 points)
11 integers will be stored
0 votes
answered Jun 12, 2018 by nanduri shree lalitha (180 points)
11 elements can be stored
0 votes
answered Jun 12, 2018 by Adhikansh Mittal (150 points)
here we can store 11 elements but the highest indices will be 10 i.e the last value insert in the array is arr[10].
0 votes
answered Feb 18, 2019 by anonymous
11 elements can be stored but index no. will be starting from  0 to 10
0 votes
answered Feb 26, 2019 by nacho (140 points)

12 elements can be inserted

a[0] = element 1

a[1] = element 2

a[2] = element 3

and so on..............

a[10] = element 11

a[11] = element 12

0 votes
answered Jul 18, 2019 by anonymous
12.As the array index starts from 0.
0 votes
answered Jul 26, 2019 by Raghu18113 (150 points)
when ever you specified the size in the declaration of an array

it is capable to store elements equal to size

but in c language starts indexing from 0

so last element index will be size-1
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...