#include int main(int argc, char **argv) { char q[10]; char buf1[10]; sscanf(q,"%20c",buf1); return 1; }