// // counting.c // Jeff Ondich, 26 April 2019 // // A little program for use in a takehome exam. // Compile it like this: // // gcc -o counting counting.c // // and run it like this: // // ./counting // // Then wait. It'll take a while to finish. // #include int main() { int k = 1; while (k > 0) { k++; } printf("k = %d\n", k); return 0; }