sudarshan gaikaiwari

mostly programming

C auto magic string concatenation

2006/05 sudarshan gaikaiwariTech

void myfunc(char * msg) { printf(msg); }

int _tmain(int argc, _TCHAR* argv[]) { printf(“Hello ” “World\n”); myfunc(“Hello ” “World\n”);

return 0; } Well I did not know this but C concatenates adjacent string literals. The above example actually does print “Hello World” twice.

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.