C Tutorial/String/String Display
Displaying a string
#include <stdio.h>
int main(void)
{
printf("Beware the Ides of March!");
return 0;
}
String alignment
#include <stdio.h>
int main(){
printf("%15s","right\n");
printf("%-15s","left\n");
return(0);
}
right left