TABLE OF CONTENT Read more
TABLE OF CONTENT Read more
Practice Programs Doing Programs gives you the great understanding about what you have learned. Doing Programs gives you the Confidence. So let's Start by doing some programming. … Read more
How to take 2-D array elements as input? As we used loops for taking input of 1-Dimensional array elements, same like 1-D array we will use loops for 2-D array as well. As we know using loops for taking input is a good approach and it is more efficient than… Read more
Multidimensional Array. Multi-dimensional is declared as same as One-dimensional arrays, thus required separate square brackets is require. two-dimensional require two brackets , three dimensional required three brackets and so on. Two-Dimensional Array … Read more
, How to take 1-D array elements as input? How to take array as input and print its value? Generally, the number of element that number of time you have write scanf() and take input as an single number and store it at respected index. Lets see an example reg… Read more
One-dimensional Array Declaration of 1-D Array Syntax: datatype array_name[ size ] Size : means how many elements you want to store in an array. If number of element is more than specified size ,than interpreter will throw an error. If number of elemen… Read more
Array why there is a need of Array ? Till now we have worked with datatypes like int,float ,which stores only single data at a time. But, in a real life problem you will have to face large number of data at a time. eg: to store marks of 10… Read more
Follow Us