这个题怎么了
#include<iostream>
using namespace std;
int main()
{
//printf("包括两行:\n"); int x = printf("\"Hello world!\"\n");
cout<<x<<endl; //printf("第二行为printf(\"Hello world!\")调用后的返回值。"); //转义引号 return 0;
}
为什么不对,他到底要返回什么???
#include<iostream>
using namespace std;
int main()
{
//printf("包括两行:\n"); int x = printf("\"Hello world!\"\n");
cout<<x<<endl; //printf("第二行为printf(\"Hello world!\")调用后的返回值。"); //转义引号 return 0;
}
相关推荐