How do you enter lies in array in C?

 When writing an array pattern. we should declare the array at the first in the declaration part. Without declare or initializing the array we can move any array operations. We can declare an array in two methods one is initialized declaring the whole set of arrays at the first or we can get the input from the user and make an array. in this type, we should give the size of the array. Then we can get the data from the user and make an array.





Explanation using program:




here I have mentioned some kinds of declarations. this is the basic initialization. if you're going in any competitive coding rounds you should follow the first initializing part . 



No comments:

Post a Comment