--- In [email protected], Anup Kumar <[EMAIL PROTECTED]> wrote:
>
> Hi Saifi,
> 
> >>#include <stdio.h>
> >>int main(void)
> >>{
> >>printf( "String: %s" "One","Two" "Three" );
> >>return 0;
> >>}
> 
> >>My query is -
> >>in gcc, who does the string concatenation ? Is it the preprocessor or
>  >>is it the compiler ?
> 
> In gcc, preprocessor doesn't do this string concatenation. 
> This is done by compiler. 
> 
> The preprocessor that C uses is Lexical preprocessor and not the
Syntactic one (used by LISP as far as i know).
>  
> Anup
>


We can verify that by compiling with -save-temps option and seeing the
.i file generated



Reply via email to