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