#include /* for printf in C programs */ #define SIZE 20 char* sentence = "This is a sentence."; int flubber (int a, int b, int c) // a function to do something { return (4+b)*c+ a; } int main() { char copy[SIZE]; char* next = copy; char* orig = sentence; printf("the string is: %s\n", sentence); while(*next++ = *orig++); // copy each character to and including eos printf("the copied string is: %s\n", copy); int x = flubber (1,2,3); // should be 19 or 0x13 printf ("3/2=%d x=%d 3.0/2=%f.2\n", 3/2, x, 3.0/2); return 0; } // skel. main program