fork download
  1. #include <cstdio>
  2.  
  3. typedef int CDib;
  4. typedef int CRect;
  5.  
  6. void Copy(const CDib *image, const CRect &rect);
  7.  
  8. int main() {
  9. CDib a=17;
  10. CRect b=334;
  11. Copy(&a,b);
  12. return 0;
  13. }
  14.  
  15. void Copy(const CDib *image, const CRect &rect) {
  16. printf("Copy called image=%p, *image=%d, rect=%d\n",image,*image,rect);
  17. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
Copy called image=0xbfe16a6c, *image=17, rect=334