This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Re

I get it. Whether code has to assign text to a string variable or parse a hardcoded string as arguement in a function, it doesn't matter. Code simply has to touch the string one way or another.

Using a variable would be more efficient if I would print the exact same text more than 1 time. It would take 3 additional instructions to parse the varible as arguement. But I only have 6x printed NO's and 6x printed YES's.

I get that I am having a rather big problem. I am currently reading some stuff about efficient coding in C. There are some usefull things in there I could use.