C++实战笔试题网址

来源:互联网 发布:服务器端口怎么查 编辑:程序博客网 时间:2024/04/29 07:38

http://blog.163.com/gongdashizhan/

 

cout<<7%3<<endl;
 cout<<7%(-3)<<endl;
 cout<<(-7)%3<<endl;
 cout<<(-7)%(-3)<<endl;

 

 

 //
 const char* a="abdfnd";
 const char**p; 
 p=&a;
 *p="abdfdf34";
 cout<<*p<<endl;
 cout<<a<<endl;

原创粉丝点击