AyHpt
2011-05-02 05:25:40 UTC
a) int *number; /*This has a problem because the point has to be defined right?*/
printf ("%d\n", *number);
b) float *realPtr;
long *integerPtr;
integerPtr = realPtr;
c) int * x, y;
x=y;
d) char s[] = "this is a character array";
int count;
for ( ; *s != '\0' ; s++) /*the for loop need the {} right??*/
printf("%c " , *s);
e) short *numPtr, result;
void *genericPtr = numPtr;
result = *genericPtr + 7;
f) float x= 19.34;
float xPtr = &x;
printf ("%f\n", xPtr);
g) char *s;
printf("%s\n", s);