printf c %3d code example Example: printf("%3d ",XX); #include <stdio.h> int main() { int x = 10; printf("%3d ",x); }