Saturday, April 21, 2007

printf statement

%d --> int
%i --> int
%f -->float
%c -->char
%s -->string
%x -->hex
%lf -->double

Compiling

C Compilation

Prepocessor--> Removes comments, Interprets the preprocessor directives.
Compiler --> Source code to assemby code
Assembler --> Creates object code
Link Editor --> combines the function defined in other source files and creates executable from object code.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Lint
It is a unix utiliy to verify C program. It helps in type checking of variable, function assignments, efficiency, unreachable codes, memeory leaks etc.

lint program.c

View My Stats

Click here to submit your site to the search engines for free!