CS 61C Quiz - Week 2

Current time: Thu Oct 30 15:56:03 2014

Deadline: Tue Jul 1 23:59:00 2008

Name:
SID:
Login:cs61c-

Question 1:

What is the general rule for Type Conversions in C?  That is to say, 
what types of conversions are allowed and which (should) cause warnings or errors?

Question 2:

C variables are always passed to functions by value.  To change the value of a variable passed to a function 
inside the function we must emulate pass by reference.  Give a brief example of how to do this and explain
 exactly what is being passed between functions and how it is used.

Question 3:

What are the differences between a typedef and #define?

Send a confirmation email to my class account.