Adding line C

I have two C lines that I want to add, and the result should be assigned to the lhs variable. I saw static initialization code, for example:

char* out = "May God" "Bless You";.

The exit was valid "May GodBless You"when printing. I understand that this result can be inferred from some undefined behavior.

The code really was in production and never produced the wrong results. And it was not as if we had such statements in only one place. This can be seen in several places of very stable code and used to form sql queries.

Does such a C connection provide such a C connection?

+3
source share
3 answers

. C, undefined.

, "May GodBless You" ( )

+4

5.1.1.2

6. .

, Solaris .

+2

All Articles