作者JohnBintan (Begins)
看板java
标题[问题] 比较C语言与Java
时间Wed Nov 15 23:57:18 2006
不知道po在这里合不合适...
小弟其实只懂得C语言
以下四句话, 我不知道哪些是对的哪些是错的...
可以请众版友位我解答吗? 谢谢
1. C passes parameters in registers while Java passes them on the stack.
2. Strings are just an informal name for single-dimention arrays of characters
in C and Java.
3. Strings in C and Java use null(0) to mark the end of a string.
4. Operations on strings, like length, are faster in C than in Java.
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.113.141.178