 श imagining चलिए कि अगर में घ्चही आदार वसी कrahaming confidently saying the all meaning person सच्चा र करिः थाया जुबऒ रहम सच्चा जैगोएं पकी मैं दो say to uh andiene करिग प्र।कके जानबान सादूये उंостоसक अगरमी प्रिसा कूएкие बव़ाला fish ओ़ personn Peterson छैक् क staying मीन तो. अगलेडिक्या сюжि वंजेन काडल्दी की थे अवर सबादनोorsa... now if i want to print all these values on console then i can apply a for loop and with the help of printf i can print all these values on console so now i am executing this code you can see the output all five values one two three four five are displayed on console with the help of this for loop and i have not received any input from user so this is because of this initialization so you can do this in the program wherever you require this initialization if you don't want to receive values from the user now here if i remove this five then also this is correct because size of array will be provided by the counting of this values so here five elements are available that's why size of array will be five so again i am executing this code you can see it is executing properly and all the elements are displayed on console so this way you can leave blank this size here but remember that if you remove these initialization and you only write int a and then this subscript or square brackets are empty then compiler will show an error message so now again i am executing this code you can see it is showing an error message that you can read here array size missing in a so friends if you are not initializing any array then you cannot leave the size blank it is applicable only in case of initialization so now if i apply initialization it will work properly it is working properly because of this initialization so here initialization is important because size is not available now another thing size is ten and i have initialized only five elements and then i am printing it ten times so five elements are available here so let's see what happens you can see the output first five elements are displayed one two three four five and the remaining elements are zero so you have to remember that whenever you initialize a one d array if you provide less element as compared to the size of the array then remaining blocks will be filled with zero automatically they will not receive garbage values they will be filled automatically with zero but if i remove these values and if i provide size here and then i execute this program you can see the output all garbage values are displayed here no proper or significant values are displayed so friends if we initialize any array then only remaining blocks which are not filled will be filled by zero automatically but if we only declare the array and we just use that declared array then all the locations will be filled with garbage values so i hope you have understood the difference now one more thing size of array is one and i have initialized five elements so let's see what happens it is showing warning that size is one and we are assigning more values as compared to the size and it is showing the garbage values also so friends you have to ignore or you have to sorry you have to remove this practice from your code that size is less and you are providing more number of elements because it provides some warnings in some compiler it also shows in terms of errors if you are providing more elements as compared to the size then warning or errors may occur in your code so avoid this practice wherever you are initializing the array so if you are providing a particular size then you can initialize it with that size elements or you can put less number of elements as compared to the size but putting more number of elements is wrong practice so now this will work properly so these are some facts or findings which are available at the time of initialization of array so i hope you have understood all the facts and things that i have demonstrated so this is all about initialization of one d array which is available in c programming if you want to watch more programming related videos you can follow or subscribe my youtube channel that is youtube.com slash sanjay gupta underscore tag school you can also download my programming app tag image which is available on google play thank you for watching this video