- #include <iostream>
- using namespace std;
- int main()
- { int a=10, b=20;
- int *p=&a, *q=&b;
- *p =*p* *q;
- int & ra = a;
- ra=a;
- int *& rt = q;
- *rt = 30;
- cout<<"a="<<a<<"\nb="<<b<<"\n*p="<<*p<<"\n*q="<<*q
- <<"\nra="<<ra<<"\n*rt="<<*rt<<endl;
- }
- #include <iostream>
- using namespace std;
- int main()
- { int a=10, b=20;
- int *p=&a, *q=&b;
- *p =*p* *q;
- int & ra = a;
- ra=a;
- int *& rt = q;
- *rt = 30;
- cout<<"a="<<a<<"\nb="<<b<<"\n*p="<<*p<<"\n*q="<<*q
- <<"\nra="<<ra<<"\n*rt="<<*rt<<endl;
- }
Scratch3.0 全国青少年软件编程等级考试 Python Scratch图形化一级 Scratch图形化四级 Scratch图形化三级 Scratch图形化二级 电子学会