更多"设有以下程序: #include<iostream> using "的相关试题:
[填空题]设有以下程序:
#include<iostream>
using namespace std;
int main( )
int a,b,k:4,m=6,*p1=&k,*p2=&m;
a=p1==&m;
b=(*p1)/(*p2)+7;
cout<<a<<b<<end1;
return 0;
执行该程序后,a的值为 【7】 ,b的值为 【8】 。
[填空题]有以下程序
#include <iostream >
using namespace std;
int main( )
{
int i=010,j=10;
cout<<(++i)<<","<<j--<<end1;
return 0;
}
则该程序运行后的输出结果是 【6】 。