CSC 2400 – Exercises on Pointers in C - Villanova University

/* p1.c Write a short C program that declares and initializes (to any value you like) a double, an int, and a char. Next declare and initialize a pointer to each of the three variables. Your program should then print the address of, and value stored in, and the memory size (in bytes) of each of the six variables.


Loved it? Download it, Share it!!
Share

Preview 2

Image

Preview 3

Image

Preview 4

Image

Preview 5

Image

Preview 6

Image

Thumbnails


Image
Image