1 2 3 4 5 6 7 8 9 10
#include <stdio.h> int main(int argc, char **argv) { int a; char buf[10], buf2[a]; sscanf(buf, "%s", buf2); return 1; }