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