1 2 3 4 5 6 7 8
#include <stdlib.h> #include <stdio.h> int main(){ printf("str: %.*s\n", 2, "abcdef"); return 0; }
1
str: ab