#include <stdio.h> int main(void) { char d[50]; int i = 0; scanf("%s", d); while (d[i] != '\0') { printf("d[%d]=%c->%d\n", i, d[i], d[i]); i++; } return 0;}
okabe_kou
d[0]=o->111 d[1]=k->107 d[2]=a->97 d[3]=b->98 d[4]=e->101 d[5]=_->95 d[6]=k->107 d[7]=o->111 d[8]=u->117
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!