热门面试题与答案和在线测试
面向面试准备、在线测试、教程与实战练习的学习平台

通过聚焦学习路径、模拟测试和面试实战内容持续提升技能。

WithoutBook 将分主题面试题、在线练习测试、教程和对比指南整合到一个响应式学习空间中。

面试准备

模拟考试

设为首页

收藏此页面

订阅邮箱地址

C++ 面试题与答案

Test your skills through the online practice test: C++ Quiz Online Practice Test

相关差异对比

C vs C++Java vs C++

问题 131. Is C an object-oriented language?


C is not an object-oriented language, but limited object-oriented programming can be done in C.

这有帮助吗? 添加评论 查看评论
 

问题 132. Name some major differences between C++ and Java.


C++ has pointers; Java does not. Java is platform-independent; C++ is not. Java has garbage collection; C++ does not. Java does have pointers. In fact all variables in Java are pointers. The difference is that Java does not allow you to manipulate the addresses of the pointer

这有帮助吗? 添加评论 查看评论
 

问题 133. What is the difference between Stack and Queue?


Stack is a Last In First Out (LIFO) data structure.
Queue is a First In First Out (FIFO) data structure

这有帮助吗? 添加评论 查看评论
 

问题 134. Write a fucntion that will reverse a string.


char *strrev(char *s)
{
int i = 0, len = strlen(s);
char *str;
if ((str = (char *)malloc(len+1)) == NULL)
/*cannot allocate memory */
err_num = 2;
return (str);
}
while(len)
str[i++]=s[?len];
str[i] = NULL;
return (str);
}

这有帮助吗? 添加评论 查看评论
 

问题 135. What is the software Life-Cycle?


The software Life-Cycle are
1) Analysis and specification of the task
2) Design of the algorithms and data structures
3) Implementation (coding)
4) Testing
5) Maintenance and evolution of the system
6) Obsolescence

这有帮助吗? 添加评论 查看评论
 
2) Name some major differences between C++ and Java. 3) What is the difference between Stack and Queue? 4) Write a fucntion that will reverse a string. 5) What is the software Life-Cycle? " />

用户评价最有帮助的内容:

版权所有 © 2026,WithoutBook。