1 develop a c program that declares a double x an int y and


1: Develop a C program that declares a double x, an int y, and a float z. Declare three pointers that point to each of the three variables.

a) Initialize x, y, z to values 1.0, 2, and 3.0, respectively.

b) Declare three pointers p_x, p_y, and p_z and make them point to x, y, and z respectively

c) Print the values of x, y, z and x+y+z using pointer notation.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: 1 develop a c program that declares a double x an int y and
Reference No:- TGS02674283

Now Priced at $15 (50% Discount)

Recommended (91%)

Rated (4.3/5)