C/C++ Questions only (Strange Problems)
C++ programming on UNIX, C++ Networking,C++ Algorithm Questions and Answers
(Continued from previous question...)
C/C++ Questions only (Strange Problems)
1. This program crashes before it even runs!
2. I have a program that seems to run correctly, but then crashes as
it's exiting.
3. This program runs perfectly on one machine, but I get weird
results on another.
4. Why does the code "char *p = "hello, world!"; p[0] =
'H';" crash?
5. What does ``Segmentation violation'' mean?
(Continued on next question...)
Other Interview Questions
|