sudarshan gaikaiwari

mostly programming

C auto magic string concatenation (revisited )

2006/05 sudarshan gaikaiwariTech

Well the concatenation works only with string literals. For example this fails to compile

char *s1 = “Hello ”; char *s2 = “World\n”;

printf(s1 s2); I am guessing that the concatenation happens either in the lexical analysis phase or during the parsing and not in the semantic analysis phase as Samat thinks.

Loading...
Sudarshan Gaikaiwari

Sudarshan Gaikaiwari I am an experienced software developer. My current stack is

  • Frontend

    • React, Webpack, Babel, Emotion, Gatsby
    • es6+, Typescript
  • Backend

    • AWS Lambda, DynamoDB, Kinesis, S3
    • Python, Node, Java, Flask, Express

I am available for contract and full time positions.