+ 2
Today I was asked a what might look like simple or obvious question but a bit challenging for me to answer
The question was '' why do c/c++ programs start with #include ''
2 Antworten
+ 2
#include is a preprocessor directive which tells the preprocessor to include the code from the given library, if it is a standard library it should be Surrounded with <> for example <stdio.h> but if it is not in standard library it should be surrounded with “” for example “testlib.hpp”
+ 1
C. You don't have to include stdlib.h but if you don't then you won't have very much to work with!
Sr.No. Functions
1 printf()
2 scanf()
3 getc()
4 putc()
5 fopen()
6 fclose()
7 remove()
8 fflush()
Means you might still have getchar() putchar() to use, maybe that could be a challenge for our future?