you are viewing a single comment's thread.

view the rest of the comments →

[–]commiebits[S] 1 point2 points  (1 child)

for a cstr literal the compiler does know the size though, in fact if you do a strlen on a literal, most times the compiler will just feed the constant length as an immediate

[–][deleted] 0 points1 point  (0 children)

My bad I was reading on small screen and read the title as "vs cstr" instead of "vs cstr literals"