Ask questions which are clear, concise and easy to understand.
Ask QuestionPosted by Sanjana Kumari 7 years, 10 months ago
- 0 answers
Posted by Md Hussain 7 years, 10 months ago
- 0 answers
Posted by Manoj Shukla 7 years, 10 months ago
- 1 answers
Aman Kumar Rao 7 years, 10 months ago
Posted by Soumya Sakre 7 years, 10 months ago
- 1 answers
Kasturi Pande 7 years, 10 months ago
Posted by Saurav Prakash 7 years, 10 months ago
- 2 answers
Aditi Sharma 7 years, 10 months ago
Posted by Aryan Soni 7 years, 10 months ago
- 2 answers
Posted by Anjali Maurya 7 years, 10 months ago
- 1 answers
Aryan Soni 7 years, 10 months ago
Posted by Jasleen Kaur 7 years, 10 months ago
- 1 answers
Posted by Saurabh Raghuvanshi 7 years, 10 months ago
- 1 answers
Tarun Asthana 7 years, 10 months ago
Posted by Ravi Pal 7 years, 10 months ago
- 1 answers
Tarun Asthana 7 years, 10 months ago
Posted by Charu Agarwal 7 years, 10 months ago
- 0 answers
Posted by Pooja Yadav 7 years, 10 months ago
- 1 answers
Posted by Shashank Kushwaha 7 years, 10 months ago
- 2 answers
Meemnam Subba 7 years, 10 months ago
Posted by Akash Yadav 7 years, 10 months ago
- 1 answers
Jasleen Kaur 7 years, 10 months ago
Posted by Suchit Kumar 7 years, 10 months ago
- 1 answers
Jasleen Kaur 7 years, 10 months ago
Posted by Laik Khan 7 years, 10 months ago
- 1 answers
Aayushi Pal 7 years, 10 months ago
Posted by Qwerty Ra 7 years, 10 months ago
- 0 answers
Posted by Shruti Shubham 7 years, 10 months ago
- 0 answers
Posted by Yash Sharma 7 years, 10 months ago
- 1 answers
Aditya Kumar 7 years, 10 months ago
Posted by Anugya C 4 years, 6 months ago
- 1 answers
Sia ? 4 years, 6 months ago
| BASIS FOR COMPARISON | ONE-DIMENSIONAL | TWO-DIMENSIONAL |
| Basic |
Store single list of elements of similar data type. | Store 'list of lists' or 'array of arrays' or 'array of one dimensional arrays'. |
| Declaration | /*declaration in C++ type variable_name[ size ];*/ /*declaration in Java type variable_name [ ]; variable_name = new type[size]; */ |
/*declaration in C++ type variable_name[size1][size2]; */ /*declaration in Java type variable_name= new int[size1][size2]; */ |
| Alternative Declaration | /* In Java int [ ] a= new int [10]; */ |
/* In Java int [ ] [ ] a= new int [10][20]; */ |
| Total Size in Bytes | Total Bytes =sizeof(datatype of array variable)* size of array. | Total Bytes= sizeof(datatype of array variable)* size of first index*size of second index. |
| Receiving parameter | It can be received in a pointer, sized array or an unsized array. | Parameter receiving it should define the rightmost dimension of an array. |
| Dimensions | One dimensional. | Two dimensional. |
Posted by Shaid Mala 7 years, 10 months ago
- 0 answers
Posted by D D 7 years, 10 months ago
- 1 answers
Priya Goswami 7 years, 10 months ago

myCBSEguide
Trusted by 1 Crore+ Students

Test Generator
Create papers online. It's FREE.

CUET Mock Tests
75,000+ questions to practice only on myCBSEguide app
myCBSEguide