1、以下代码是正确的,因为没有包含输入输出功能,因此不需要写头文件<iostream>或<stdio.h>。 int main() { int sum,a=5,b=3; sum=a+b; return 0; }