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