引用与指针有什么区别?
参考答案:
1)引用必须被初始化,指针不必。2)引用初始化以后不能被改变,指针可以改变所指的对象。3)不存在指向空值的引用,但是存在指向空值的指针。
Kelly cooked dinner ____ her parents while they were cleaning
the yard.
A. with B. for C. to