#include <stdio.h>
#include <string.h>
/*
 * Program to 
 * Terry Harvey CISC 105 section 98 TA Janet
 */

int main(){

    char line[] = "gerbils are a person's best rodent";
    char * temp; ///asterisk means this var holds an address


    temp = line;
    printf("line is the address %p\n", line);
    printf("temp is the address %p\n", temp);
    printf("the address of g is %p\n", &line[0]);
    printf("%s\n", temp);
    printf("%c\n", temp[1]);
    printf("%s\n", temp+1);//YUCK pointer arithmetic is to be avoided

    return 0;
}
