Sir maine bahut sare video dekhe magar void main or int main ke magar Apne Jo sikhay o sabse achha.....Hai...sir confused hoto but ha video vahila tar purn shanka clear zali....THX sir...
Hey,if our program terminates in the middle and returns non zero value to OS,will OS respond to that by displaying some info to the user dat program couldn't be run successfully for so and so reason??
+mubashira khanum. This concept isn’t used much (if at all) in graphical environments where people launch programs from an icon or something. But in command-line applications, this return statement is a godsend. Take for example the “make” tool - which is used for compiling and linking complicated applications. The various compilers and linkers do a “return 0” when the program that they are working on compiled correctly - or they “return 1” if it didn’t compile. The “make” program examines the return status of every program it runs - and aborts the build if one of them returns anything other than zero. This is a really handy thing
Local variable is created inside a function and can only be used inside that function while global is declared outside the function and cane be accessed by all functions. I have already prepared a video on that : ruclips.net/video/ly0klZow3S8/видео.html
+vinay sharma Ha. Void nahi likhna hai. Aap int likh skte ho yaa to kuch mat likho to bhi vo int hi maana jayega. Main me end me retun 0 likhna padega.
+SuperDj Pahasu No. Void main returns nothing. Not even 0. Because , 0 is a number, its integer. Hence you cannot return anything, if its void return type.
Super dj void means nothing and 0 is a number 0 occupies A space it exist as a number but when has nothing is there is a no number inside void void doesn't Express express 0 because it is you can say as there is a no number inside no number no character inside it ok so got it
Brother you cleared my big doubt. Thanks
Sir maine bahut sare video dekhe magar void main or int main ke magar Apne Jo sikhay o sabse achha.....Hai...sir confused hoto but ha video vahila tar purn shanka clear zali....THX sir...
You're welcome. Keep learning.
after so many years finallly main in my head thanks to you
Chaliye shuru karte hai
😊😊😊
thanks
Sir agr hum int main ka use karen aur aik file open kryn aur file crash hogai ho to error compile time pr ay ga ya runtime pr jb app run hojaiy?
Compile to run karne se pahele ke error hi pakad sakta hai. Run time kuch issue hua to Program has to throw error codes to System function or OS.
Thank u.. I got it
Thq sir
You're welcome dear.
My math is zero how to build dynamic programming
Hey,if our program terminates in the middle and returns non zero value to OS,will OS respond to that by displaying some info to the user dat program couldn't be run successfully for so and so reason??
+mubashira khanum. This concept isn’t used much (if at all) in graphical environments where people launch programs from an icon or something. But in command-line applications, this return statement is a godsend.
Take for example the “make” tool - which is used for compiling and linking complicated applications. The various compilers and linkers do a “return 0” when the program that they are working on compiled correctly - or they “return 1” if it didn’t compile.
The “make” program examines the return status of every program it runs - and aborts the build if one of them returns anything other than zero.
This is a really handy thing
Being Engineer Thanks for clarification.
Sir I want to know that in a University exams which is a better way to write any program in answer sheet void or int main
Both are correct. Still int main is preferred.
Sir please class and objects par video upload kijiye
Ha sir banao plg
that was nice...
+yaqub shah Thank you
Sir ek video important programs Tubidy banado Jis Mein Sabhi program Ho Jo important Ho University exams ke liye
at last i got it
best video
Thank you
buhat ascha vdo.hain
+Tushar Ahmed Thank you.
+Tushar Ahmed thank you.
Thank you sir...
+Rahul Choudhuri You're welcome.
What is Global data and local data please explain
Local variable is created inside a function and can only be used inside that function while global is declared outside the function and cane be accessed by all functions. I have already prepared a video on that : ruclips.net/video/ly0klZow3S8/видео.html
But yeh to sbko pta h ki return 0 likhne se os ko pta chlega ki program is successfully run ho gaya but inside kya process hoga vo smjao bhai
🙏🙏🙏🙏🙏🙏🙏🙏
Thank you.
😒
Why have a title in english if the language is different?
+Mr human Point noted and updated. Thanks.
to sir void lgaane ki zarurt nahi hai...
+vinay sharma Ha. Void nahi likhna hai. Aap int likh skte ho yaa to kuch mat likho to bhi vo int hi maana jayega. Main me end me retun 0 likhna padega.
Void main () return karta hai 0 kyunki void ka matlab hi 0 hai
+SuperDj Pahasu No. Void main returns nothing. Not even 0. Because , 0 is a number, its integer. Hence you cannot return anything, if its void return type.
Tech With Sam sorry , i don't agree with u .
Super dj void means nothing and 0 is a number 0 occupies A space it exist as a number but when has nothing is there is a no number inside void void doesn't Express express 0 because it is you can say as there is a no number inside no number no character inside it ok so got it
If you have any other doubt show me where is written that void means zero
Good job being engineer sir ji
My math is zero how to build dynamic programming
You don't need maths for programming. Practice daily. Learn daily. Your logic will develop slowly.
@@programmingfunda5788 thanks
thanks
+Usha Srivastava Thank you