Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   C (https://www.askmehelpdesk.com/forumdisplay.php?f=438)
-   -   #include<stdio.h> (https://www.askmehelpdesk.com/showthread.php?t=778910)

  • Dec 16, 2013, 11:22 AM
    rahul parepalli
    #include<stdio.h>
    What does the instruction #include<stdio.h> mean
  • Dec 16, 2013, 01:44 PM
    schan
    Hi,

    The hash symbol simply says to handle this statement with the C pre-processor. The include simply means to include the standard C library header file when C compiles the program. What happens is that the pre-processor pastes code from the header file into your program so that you can reuse functions that were already written. In this case, it is the standard input/output header file so you'll be able to use functions such as printf, scanf, and so on.

    I hope this helps.

    -S

  • All times are GMT -7. The time now is 11:08 AM.