What is the extension of a c program after preprocessing phase?
c
-S
eve
Submit
Answers
Answered by
21
A preprocessed *. i file is an output of the C or C++ preprocessor. It is usually this extension which is characteristic of files created as the preprocessor output. The preprocessor performs primary transformations of the source program text using only lexical analysis.
Answered by
1
Explanation:
Down vote
Accepted
It is compiler dependent. Most compilers by default don't generate intermediate pre-processor files.
With gcc, if you add -save-temps option to get the intermediate files, the output of the pre-processor is dumped in a .i file. With -E option (to perform only the pre-processing), without -o to specify the output file, the result is dumped to stdout.
Similar questions