Sir, mere class me bhi esee hi huaa thaa , meri madamne jhaad diya thaa mere koo, aur ek baat yee koon hai sala jisne dislike kiyaa. love you for sharing this type of knowledge.
suppose stdio.h file ka hum bus printf() function use kar rhe he to preposser sare functions ke declarations ko copy paste karega but humne use bus printf()kiya he. Linker kya karega??? kya sare functions ki definitions ko link karega ya bus printf() kidefinition ko. please tell me this
Sir your videos r really vry helpful...i m a student of m.c.a. 2 year....i m new to this programming world as earlier i was a science side student till now ....n this is completely a new journey for me...u r really vry helpful...thx
thanks so much sir for share this video bcoz isse mere kafi sare concepts clear ho gye......aur me un logo se kahna chahunga ki tumhe jb samaj nai aata to padhna chhod do kisi ke super interesting video ko dislike mat kro..
Sir, I am using latest GCC compiler in Linux OS and while building a c program without using any header files it flags some warnings, however it executes flawlessly... 1.........hello.c:3:2: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration] 2.........hello.c:3:2: note: include ‘’ or provide a declaration of ‘printf’ It means that one should use header file...
Sir agar hum header file nhi likhegee.....toh linker us library file ko attach kese kregaa ??.. usko kese patq chlegaa ki konsi librray attach krni hai ?
sir...if our program is not having headerfiles then what preprocessor gonna convert??? n as u said compiler includes headrfiles on its own(if we dnt write them) then it means program then again goes to preprocessor to get those headerfiles converted ..??
Thank you sir. But I have a question. While compile and run , many times I am not able to get output for the same program which was showing output earlier. When I click on Built and Run option , it don't shows output window but it shows error "No such file or directory" What is solution for that ?
sir, suppose stdio.h file ka hum bus printf() function use kar rhe he to preposser sare functions ke declarations ko copy paste karega but humne use bus printf()kiya he. Linker kya karega??? kya sare functions ki definitions ko link karega ya bus printf() kidefinition ko.
Thank you sir maine abhi c programming sikhna start kia hai mujhe problem hai ki jab mai Multiply ka program bnaya to choti calculation ho rhi hai lekin bdi ni ho pa rhi hai ans galat aa rha.... Problem kya hai please tell anyone
Sir, In code blocks C++ programs when we include a header file thn it gives error nd when we remove .h extension thn their wil be no error there.How???
See this sample program in CPP on code blocks and remove all your confusions ruclips.net/video/t-utAfBiZPo/видео.html&list=PLLYz8uHU480i1pSs2w_Vzp671ea95PeWY
Thank u sir ...my question is why we write int main() or float main void main etc why not we write char main or double main() ..plzz teach us the funda of these plzz
sir jb preprocessor ny content ko copy krdia to pher linker ny .lib file sy knsi chez link ki? And what do you mean by content? kya content predefined function ka code hy?agar yes to pher linker ny .lib file sy kya link kiya? kyu k content to phly e copy ho gya tha program me jis k baad compiler chla
Saurabh Shukla sir you mean to say that preprocessor ny "stdio.h" ko copy kiya and Linker ny "stdio.h" ki coding humary program me ad krdi..Am i right sir?
# is a preprosesor directive and include is a commond for preprocessor program and stdio.h is file which content the decleration of the predefine function like...printf()..scanf()..getch and clrscr()..
Sir I am Abhay from Delhi ,ak confusion hai sir ki jab ham kisi program me header file nahi lagate hai to kya usme preprocessor nahi chalta hai directly compiler chalta hai?
main() { printf("Hello "); } C4013 'printf' undefined; assuming extern returning int LNK1120 1 unresolved externals LNK2019 unresolved external symbol printf referenced in function main Sir I am using Visual Studio IDE Community Version 2015 and I am getting this 3 errors above is my program and all three errors please provide a solution.
Dear sir please tell me from which Lecture number you discuss "Why I am not using header files in a C program" I have found this video from youtube but unable to find its content from your website
Sir use in between English words bcz we don't know Hindi fully..... U r videos very useful that why I tried understand Hindi and subject also.......... Both at time ha ha ha...Ha aha ha
Sir tanks for this video mujhe bhi yeahi patta tha ki getch() screen ko hold kar kar rakhtaa hai aur uske liye header file conio.h lagana compulsary hai
Plz dont use getch() in your programs it is not use nowdays... as conio.h is not used in mordern compilers... conio.h was ment to use for msdos compiler... Like turbo. visual studios, codeblocks dont.. need this may lead to error it may create confusion in students
Sir Just Look At The Two Different Codes Which Gives Different Values For Same Function Having Same Arguement . #Compiled & Run On Turbo C #1 Which Doesn't Include math.h void main() { int a; clrscr(); a=sqrt(9); printf("%d",a); getch(); } Output : 688 #2 Which Include math.h #include void main() { int a; clrscr(); a=sqrt(9); printf("%d",a); getch(); } Output : 3 Why This Happens Sir ? Please Explain it .
You are just awesome..keep it up..I have never seen this much clearity in teaching.
awsome sir pata nii Kaha se esi informatic information late ho sir aap .... love you sir thank you so much
thank you sir .This question was bothering me for while .
My God sir ! Ur explanation makes complete sense! I feel so happy that I discovered your channel.
This video helped a lot!
#ThankUsir
Thanks for watching and liking it. Visit www.mysirg.com for all FREE videos.
Keep sharing videos on whatsapp and FB. Also subscribe
MySirG.com definitely 😆👍👍
yes sir u r right.... hume bhi humare teachers ne nhi samjhaya y sb.....
u r the real teacher sir...
thank u so much sir
Sir, mere class me bhi esee hi huaa thaa , meri madamne jhaad diya thaa mere koo,
aur ek baat
yee koon hai sala jisne dislike kiyaa.
love you for sharing this type of knowledge.
suppose stdio.h file ka hum bus printf() function use kar rhe he to preposser sare functions ke declarations ko copy paste karega but humne use bus printf()kiya he. Linker kya karega??? kya sare functions ki definitions ko link karega ya bus printf() kidefinition ko. please tell me this
ok thanks
Extreme level of knowledge
No no bro It is a god level😍😍😍😍😍😍😍😍
Thankuuu So much sir... m big fan of urs..
aapke Smjhane ka Trikaa Gajab h..
Sir your videos r really vry helpful...i m a student of m.c.a. 2 year....i m new to this programming world as earlier i was a science side student till now ....n this is completely a new journey for me...u r really vry helpful...thx
Sir you are great sir ESE study hum Kahi nahi kar sakte h Jo AAP sikhate h ek ek chij choti se chhoti chij AAP Bata ke chalte h thank you so much sir
thanks so much sir for share this video bcoz isse mere kafi sare concepts clear ho gye......aur me un logo se kahna chahunga ki tumhe jb samaj nai aata to padhna chhod do kisi ke super interesting video ko dislike mat kro..
Your explanation is so awesome , I learnt a lot from your videos,
Can you make a video on making an Dynamic Array in C ?
thnks
Aaj hi maine notice kia tha aapki video par .mai confuse v tha header file pe aur ye video mil gyi finally.☺️☺️☺️👍🙏
sir kha se late hai sar aap ye sab data bcoz itna conceptually aaj tak kisi ne aaj tak kisi ne ni padaya you are great
love you tooooooooo much sir
from Pakistan ,, big fan of u>>>salute 2 u>> splinded,> keep it up>>>
Sir, I am using latest GCC compiler in Linux OS and while building a c program without using any header files it flags some warnings, however it executes flawlessly...
1.........hello.c:3:2: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
2.........hello.c:3:2: note: include ‘’ or provide a declaration of ‘printf’
It means that one should use header file...
Can we declared header files inside a main function in c
Doubts :
1) What's the difference between original .c file and object file.
2) Why the compiler needs to convert our original .c file to object file ?
Just Awesome sir.... I have learnt a lot from your videos...
सर् तुस्सी ग्रेट ।। दंडवत आपको 👏👏
If we want to get the coding/definition of predefined functions like getch(), printf() how can we found it?
Great lecture sir... u r really very good I learn alot from your videos 👍
How does linker decides which library files to be linked with the object file ?
sir... during an interview ,,, i was asked difference between header file in C and Package in java ???
Sir iske sath ek aur question aya hai mere ko ki function ki body / defination hum main ke bhar kyy karte hai andar kyu nahi kare to kya hoga
15:10 😂😂 and God bless you and your loved ones sir.... May Lord always protect you from evils...
Woh sir so useful your information 🙏🙏🙏👍👍👍
Sir jab preprocessor me header file code copy kr leta hai to .lib ko linker se jodne ki kya jarurat....
Y we r using "using namespace std;" in code blocks in order to use cin and cout?
Sir agar hum header file nhi likhegee.....toh linker us library file ko attach kese kregaa ??.. usko kese patq chlegaa ki konsi librray attach krni hai ?
sir eak aur doubt
main() function kuy likna haie ???
simply printf ("hello"); kyu lik nahi saktie
Sir cntl +f9 se hi to compilation start ho kata h to pre processor kb chalata h
You are very poweful and knowledgeable teacher
Very well explained you this.i appreciate your effort.
Sir......printf ki coding kaha save hai ....libc.so ya libc.lib
Why it is not necessary to declare predefined function in c language but in cpp it is compulsary?
Your teaching is awesome
sir...if our program is not having headerfiles then what preprocessor gonna convert???
n as u said compiler includes headrfiles on its own(if we dnt write them) then it means program then again goes to preprocessor to get those headerfiles converted ..??
sir hum apni khud ki header files bhi include kr skte haina?
uska faida kya hay?
Thank you sir.
But I have a question. While compile and run , many times I am not able to get output for the same program which was showing output earlier.
When I click on Built and Run option , it don't shows output window but it shows error "No such file or directory"
What is solution for that ?
main() ka return type aap kyo nahi likhte ?
very well explained sir. thank you
sir how do u get that auto fill when u were typing the header files ?
sir, suppose stdio.h file ka hum bus printf() function use kar rhe he to preposser sare functions ke declarations ko copy paste karega but humne use bus printf()kiya he. Linker kya karega??? kya sare functions ki definitions ko link karega ya bus printf() kidefinition ko.
Sabhi copy hogi.
watch video again
sir, please tell the names of some good books for c language practise.
why we should use header files if not needed?
Thank you sir maine abhi c programming sikhna start kia hai mujhe problem hai ki jab mai Multiply ka program bnaya to choti calculation ho rhi hai lekin bdi ni ho pa rhi hai ans galat aa rha.... Problem kya hai please tell anyone
Sir new lines k lie codeblocks pay kia command dale ?
At the time of exam which program we need to use c or cpp. Is it OK if we use c program instead of using c++ program
How to download turbo or app in which we can run c program
Sir , Android mobil me coding ke liye konta app best hoga jisme ham practice kr ske
Turbo c app
Sir can i use header files in between or at last of the program
thank you very much sir my dout has been successfully cleared
sir ue kon sa compiler h..
why we use main() in c
Sir, In code blocks C++ programs when we include a header file thn it gives error nd when we remove .h extension thn their wil be no error there.How???
See this sample program in CPP on code blocks and remove all your confusions ruclips.net/video/t-utAfBiZPo/видео.html&list=PLLYz8uHU480i1pSs2w_Vzp671ea95PeWY
Sir ur great , in code passing arry to function why square brackets are empty in function definition if it is error.
You are Great sir G
Sir ye aur bataye ki stdio.h header file conio.h and many header files h kab konsi likhni h kya detail me bataye he sir
Library files kaise include hoti h, sir
wo include nhi hoti
linking time ma linker '.o' file ko '.lib' files ke sat link kr deta ha jisa humari '.exe' file banti ha
Thank u sir ...my question is why we write int main() or float main void main etc why not we write char main or double main() ..plzz teach us the funda of these plzz
These are used when we want to specify what our main function is going to return
These are return type of functions
Sir #hi ku lgate h ?
lekin sir linux ke compiler me without header file program kabhi run nahi hota h..
Saurabh Shukla hello.c
sir jb preprocessor ny content ko copy krdia to pher linker ny .lib file sy knsi chez link ki? And what do you mean by content? kya content predefined function ka code hy?agar yes to pher linker ny .lib file sy kya link kiya? kyu k content to phly e copy ho gya tha program me jis k baad compiler chla
Sir what is header file content ?
sir what is header file content?
Saurabh Shukla sir you mean to say that preprocessor ny "stdio.h" ko copy kiya and Linker ny "stdio.h" ki coding humary program me ad krdi..Am i right sir?
dear sir,
In the header file #include why we are writing stdio ??
# is a preprosesor directive and include is a commond for preprocessor program and stdio.h is file which content the decleration of the predefine function like...printf()..scanf()..getch and clrscr()..
Sir kyaa.. Hum kudd ki header file bnaa kr use kr sktee or kese...?
yes bana sakte hain. make a file and save with .h
how to make our own header file?
@shalini
Make a file & save with extension(.h).
Sir I am Abhay from Delhi ,ak confusion hai sir ki jab ham kisi program me header file nahi lagate hai to kya usme preprocessor nahi chalta hai directly compiler chalta hai?
Yes because the preprocessor work only when that sign is written (#).
lakin sir without hadder file compiler warning kyo deta he
Thnx Sir for giving your important time on these video :)
main()
{
printf("Hello ");
}
C4013 'printf' undefined; assuming extern returning int
LNK1120 1 unresolved externals
LNK2019 unresolved external symbol printf referenced in function main
Sir I am using Visual Studio IDE Community Version 2015 and I am getting this 3 errors above is my program and all three errors please provide a solution.
You are great explain sir!!!
Hats off to u sirrr g...
Sir Plz make a video how to create header file in C.
Thank you sir
Sir, how to create own header file?
Thank you sir you are my god in programing language
Dear sir please tell me from which Lecture number you discuss "Why I am not using header files in a C program" I have found this video from youtube but unable to find its content from your website
Visit www.mysirg.com
or
ruclips.net/video/j51aSRF5c10/видео.html&list=PL7ersPsTyYt2sohwBWF03kSpW1Ymt0Q9R
visit on campus preparation video content
Thanku sir g
Sir use in between English words bcz we don't know Hindi fully..... U r videos very useful that why I tried understand Hindi and subject also.......... Both at time ha ha ha...Ha aha ha
Sir apne starting me yr nahi bataya ki c language use kaha hota.. Kah Pr use krte h coding😞
Sir tanks for this video mujhe bhi yeahi patta tha ki getch() screen ko hold kar kar rakhtaa hai aur uske liye header file conio.h lagana compulsary hai
sir! you are great👍
Sir polish notation program ka bhe ak video banado please....
Super guru ji
Thanks a lot for this video
Awesome sir
Thanks sir
Plz dont use getch() in your programs it is not use nowdays... as conio.h is not used in mordern compilers... conio.h was ment to use for msdos compiler... Like turbo. visual studios, codeblocks dont.. need this may lead to error it may create confusion in students
totally agreed..i am facing same problem
can you add english subtitle please
Sir Just Look At The Two Different Codes Which Gives Different Values For Same Function Having Same Arguement .
#Compiled & Run On Turbo C
#1 Which Doesn't Include math.h
void main()
{
int a;
clrscr();
a=sqrt(9);
printf("%d",a);
getch();
}
Output : 688
#2 Which Include math.h
#include
void main()
{
int a;
clrscr();
a=sqrt(9);
printf("%d",a);
getch();
}
Output : 3
Why This Happens Sir ? Please Explain it .
I remember getch function in conio header file, sir
thank you very much sir
Tq sir
thank you sir
Great!!
thank you sir....
thanks sir
when assembler run
Thanks ss
thankxx sir
thank you sirG
thank u sir🙏