It is not difficult to get the right answer if one know what is the string constants (sometimes it is called string literals) in C/C++. #70891 by blaise, has given a right answer.

old (HH)
Sometimes a programmer can use options provided by some compilers to put the string constants into the code segment instead of the data segment.
2001-6-2 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: which one is right?

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论