+35

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

c

6/11/2019 6:37:59 PM

👑Coding Queen😘

29 Answers

New Answer

+10

plz Check this...🙌🙌🙌 https://www.youth4work.com/Talent/c-language/Forum/119959-what-is-the-difference-between-includestdioh-and-includestdioh

+23

*AsterisK* Sorry I want to ask in C

+20

Asmit Das Joy I'm female 😐

+20

Asmit Das Joy No problem 😅

+19

Thanks Asmit Das Joy Bro 😁

+19

vahide as Don't post spams

+18

Vlad Serbu can you explain??

+17

walx09 Plz check these posts... https://www.sololearn.com/Discuss/1566003/?ref=app https://www.sololearn.com/Discuss/137697/?ref=app https://www.sololearn.com/Discuss/453081/?ref=app

+8

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

+6

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

+6

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

+5

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

+5

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

+5

.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😊

+5

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...

+4

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

+3

There is no (standard) <stdio> in C

+3

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' https://code.sololearn.com/cP3SE9vm16Wg/?ref=app https://code.sololearn.com/cLkVgPENPy38/?ref=app

+3

Yep in c if you type <stdio> only it will not import the header file and will show an error but if you type <stdio. h> then only it will import the header file

+3

stdio is not C because no namespace in C. You are forced for add .h for including libs.