#include <stdio.h>
#include <string.h>

int main()
{
typedef int length;  // makes length a synonym for int.   

length width;    // so this really   means  int width, depth, height.
length depth;
length height;

width = 15 ;
depth = 10;
height = 67;

printf(" the volume is %d \n", width * depth * height );

// now with chars

char string[10] = "betty";

typedef  char  * girlpointer ;  // so girlpointer is a synonym for a string pointer

girlpointer  gptr;

gptr = &string[0];

printf(" string is %s \n ", string );
printf(" string is %s \n ",& *gptr  );



return 0;

}

Return to previous page