Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

In these set of exercises we will explore the interactions between the different

ID: 3668111 • Letter: I

Question

In these set of exercises we will explore the interactions between the different types of variables and the available C operators. Create a new project and write the following code, then answer the following questions. A new variable 34 printf("The value of g is: %f. Why? Looking at lines 13-15, what is the initial value of the size variable declared? What is the output of the printf statements in line 19, 21, 25, 26, 27, 29, 31? Before you actually execute the code, try finding the answer by hand and use the code to test yourself.

Explanation / Answer

int - 2 or 4 bytes

folat 4 bytes

char 1 byte

line 19: d=h

line 21: integer value of d=104

line 25: the value of x is 6

ine 27: what about now? 6

line 29: the value of x is: 6.000000

line 31: what about now?6.400000