You want to print a multiplication table from 1 to 5 using nested loops. Which code snippet correctly achieves this?
Afor(int i=1; i<=5; i++) { for(int j=1; j<=5; j++) printf("%d ", i+j); printf("\n"); }
Bfor(int i=1; i<=5; i++) { for(int j=1; j<=5; j++) { printf("%d ", i-j); } printf("\n"); }
Cfor(int i=1; i<=5; i++) { for(int j=1; j<=5; j++) { printf("%d ", i*j); } printf("\n"); }
Dfor(int i=1; i<=5; i++) { for(int j=1; j<=5; j++) { printf("%d ", i/j); } printf("\n"); }