#include <stdio.h>
#include <string.h>
void print_reverse(char *s)
{
char *t = s + len - 1;
while(t >= s) {
t = t - 1;
}
}
int main(void) {
char *hello = "Hello, World";
print_reverse(hello);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdHJpbmcuaD4KCnZvaWQgcHJpbnRfcmV2ZXJzZShjaGFyICpzKQp7CiAgICAgICAgc2l6ZV90IGxlbiA9IHN0cmxlbihzKTsKICAgICAgICBjaGFyICp0ID0gcyArIGxlbiAtIDE7CiAgICAgICAgd2hpbGUodCA+PSBzKSB7CiAgICAgICAgICAgICAgICBwcmludGYoIiVjIiwgKnQpOwogICAgICAgICAgICAgICAgdCA9IHQgLSAxOwogICAgICAgIH0KICAgICAgICBwdXRzKCIiKTsKfQoKaW50IG1haW4odm9pZCkgewogICAgICAgIGNoYXIgKmhlbGxvID0gIkhlbGxvLCBXb3JsZCI7CgogICAgICAgIHByaW50X3JldmVyc2UoaGVsbG8pOwoKICAgICAgICByZXR1cm4gMDsKfQ==