热门

最新

红包

立Flag

投票

同城

我的

发布
weixin_69763181
守护者170
2 年前
trueweixin_69763181

学习的每一天

CSDN App 扫码分享
分享
评论
2
打赏
  • 复制链接
  • 举报
下一条:
solidity的存储用法(storage\memory)。pragma solidity^0.4.0;contract C{ uint[] public data1; uint[] public data2; function appendOne() public{ append(data1); } function appendTwo() public{ append(data2); } function append(uint[] storage d) internal{ d.push(1); }}结果是data1、data2都是1。加油😘!
立即登录