gcc actually stands for gnu compiler collection and it while you are asking about C (since it's a C forum) it can compile other languages as well and be extended by a programmer to do other things....
Type: Posts; User: G.Martin
gcc actually stands for gnu compiler collection and it while you are asking about C (since it's a C forum) it can compile other languages as well and be extended by a programmer to do other things....
Yes. Although, if you read from the link provided by laserlight you'll see you can emit that step and and only output an object file (-c).
Both :)
First it runs the preprocessor to expand macros, compiles to assembler, compiles that to object code and links it into the final output.
-Greg.
The actual values you get will be system dependent. I cleaned you code up to get rid of the basic warnings it generates add ran it on my system.
#include<stdio.h>
#include<stdlib.h>
struct...
In the send function you are de-referencing the pointer S (the * operator) and then adding the value of n to it. The value of *S, in your example, is 0 so your program is printing 0 + the value of n...