Which code is more efficient, the first one or the second one?
1) this code draws, "one by one", an ASCII graphical element on the screen
2) this code draws, "everything at once", an ASCII graphical element on the screenCode:short i = 0; for (i = 0; i < 60; i++) { printf ("%c", 196); }
Code:char Lines[65]; short i = 0; for (i = 0; i < 60; i++) { Lines[i] = 196; } Lines[i] = '\0'; printf ("%s", Lines);