Is there any difference between <stdio> & <stdio.h> in C?? | SoloLearn: Learn to code for FREE!


Is there any difference between <stdio> & <stdio.h> in C??


6/11/2019 6:37:59 PM

Avni Singh #LessActive

32 Answers

New Answer


plz Check this...🙌🙌🙌


*AsterisK* Sorry I want to ask in C


Asmit Das Joy I'm female 😐


Asmit Das Joy No problem 😅


Thanks Asmit Das Joy Bro 😁


Vlad Serbu can you explain??


There is no difference between using it in c and c++. According to me the only difference is what compiler you use. For old compilers like. turbo c++ .h is mandatory but for modern compilers like Dev c++ it doesn't matter weather you add .h or not it works either way.


Ohhh...👑Coding Queen😘 i am sorry sis...😅😅


Stdio means standard input output Stdio.h means standard input output header file(this is the right syntax for C -lang)$ Difference is clear


👑Coding Queen😘 most welcome sis..🙌🙌🙌


Thanks Lopa Mudra 🙌🙌🙌🙌


.h was used when c was young and not so matured ... But c++ is more matured so it does not use anymore... Disclaimer : some .h header are still used in c++ partially😊


In C, you have to use a .h at the end of every header file so the compiler knows it's a header file


stdio.h is use in C and not C++


in C the stdio must have a .h to enable the compiler know its an header file


stdio.h is the header file for standard input and output. This is useful for getting the input from the user(Keyboard) and output result text to the monitor(screen). With out this header file, one can not display the results to the users on the screen or cannot input the values through the keyb...


"stdio" is not a library file as it has not .h extension whereas stdio with .h i.e "stdio.h " is a library file as 'new.c' is a c file whereas "new" is not any c file Hope you are able to have idea .............


Asmit Das Joy thanks fir share...👌👌👌


There is no (standard) <stdio> in C


Yes, there is diffence between these two terms and that is you told to the compiler for std. input output but in 1st one you didn't say that it is a header file but when you add '.h' then only compiler will understand that is a header file. I think, you got it. If yes, Then reply me. Thank you if you want to check then you can run this Code without '.h'