Académique Documents
Professionnel Documents
Culture Documents
Libraries
Linker
Executable code
a.out
If you don’t like this name, choose another using the –o option:
cc program.c –o exciting_executable
Preprocessor Compiler
int
main( void )
{ …
return EXIT_SUCCESS;
p o i n t e r NUL
(char) (char) (char) (char) (char) (char) (char) (char)
(char *)
How do we get to the “n”?
input Follow the input pointer,
What is input? then hop 3 to the right
It’s a string! *(input + 3)
It’s a pointer to char! - or -
It’s an array of char! input[3]