Free help with homework

Why join Brainly?

  • ask questions about your assignment
  • get answers with explanations
  • find similar questions


Int a[10]; c-language
int a[10]; c++-language
int[] a = new int[10]; java-language
0 0 0
yeah it's right but if u have to declare array with values then it should be like this
int a[10]={1,2,3,4,5,6,7,8,9,10};
Before that you have to know what is arry,array is a concept of computer language.u can store the lot of values but that should be same data type.for example you want to store 
the values like 1,2,3,4,5....now u have to create integer array int a[10]
a->its the name of the array
[10]->range of the array.u can store 10 values on this array
  if u want store string values u have to create string array .like string a[10]

these array declarion based on computer langage but almost same

0 0 0
The Brain
  • The Brain
  • Helper
Not sure about the answer?
Learn more with Brainly!
Having trouble with your homework?
Get free help!
  • 80% of questions are answered in under 10 minutes
  • Answers come with explanations, so that you can learn
  • Answer quality is ensured by our experts