

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


#include <stdio.h> int main(void) { int k = 1, j;
while (k--){ j = printf("%d ", k); printf("%d ", j); } printf("%d ", k); return 0; }
#define MAX 10 #define MIN 0 #include <stdio.h> int main(void) { int one = 1, two = 2, three = 3; if (MIN || (one = two % three)) printf("%d %d %d\n", MIN, one, three); else printf("%d %d %d\n", MAX, one, two); return 0; }
#include <stdio.h> int main(void) { int k, sum; for(sum = 0, k = 1; k <= 2; sum -= k, k += 1); printf("%d\n", sum); return 0; }
k = 1, 0, - j = 2, print: 0 2 -
one = 1, 2 two = 2 three = 3 print:
k = 1, 2, 3 sum = 0, -1, - print: