char *func1 = "Open file";
char *func2 = "Write to file";
printf("%s", func1);
open_file();
printf("...test_passed.\n");
How can I format the printf so that the "test_passed" string is right-aligned on the same line that contains the first string?
Open file ........ test_passed.
Write to file .... test_passed.