C/C++代码中的笔误

1. 在printf()的参数前加& (2015/10/7)

这是我写的一个数据生成器(generator)片段

int n=rand()%5+1;
printf("%d
", &n);    
原文地址:https://www.cnblogs.com/Patt/p/4859898.html