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

回到话题: which one is right?

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论