當前位置:成語大全網 - 八字成語 - 怎樣把printf("%d",a&b)化成C++語言

怎樣把printf("%d",a&b)化成C++語言

要加頭文件:像這樣

#include <iostream>

using namespace std;

int main()

{

int a=5,b=3;

cout<<(a&b);

return 0;

}