My question is ,why array receive 7 element ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

My question is ,why array receive 7 element ?

int a[5]; for(i=0;i<6;i++) scanf("%d",&a[i]); for(i=0;i<6;i++) printf("%d",a[i]);

14th Apr 2019, 2:40 PM
ABYAKTA BAL
ABYAKTA BAL - avatar
2 Answers
+ 1
Please elaborate more. Put the text of the title in the body and give the question a descriptive title. Please put the languag you use in the tags. If you do all of this you have a much bigger change of people ansewering your question
14th Apr 2019, 3:29 PM
sneeze
sneeze - avatar
0
Plz ans me
14th Apr 2019, 5:34 PM
ABYAKTA BAL
ABYAKTA BAL - avatar