#include <stdio.h>
#include <stdlib.h>
#include <string.h>
void proc(char msg[]) {
printf("\nin proc ======\n%s\n", msg
); }
int main() {
printf("Before proc\n%s", msg
); proc(msg);
printf("After proc\n%s\nFIM", msg
); }
//https://pt.stackoverflow.com/q/251727/101
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KI2luY2x1ZGUgPHN0cmluZy5oPgoKdm9pZCBwcm9jKGNoYXIgbXNnW10pIHsKICAgIG1zZyA9IHJlYWxsb2MobXNnLCAxMSk7CiAgICBzdHJjcHkobXNnLCAieHh4eHh4eHh4eCIpOwogICAgcHJpbnRmKCJcbmluIHByb2MgPT09PT09XG4lc1xuIiwgbXNnKTsKfQoKaW50IG1haW4oKSB7CiAgICBjaGFyICptc2cgPSBtYWxsb2MoNik7CiAgICBzdHJjcHkobXNnLCAiMTIzNDUiKTsKICAgIHByaW50ZigiQmVmb3JlIHByb2NcbiVzIiwgbXNnKTsKICAgIHByb2MobXNnKTsKICAgIHByaW50ZigiQWZ0ZXIgcHJvY1xuJXNcbkZJTSIsIG1zZyk7Cn0KCi8vaHR0cHM6Ly9wdC5zdGFja292ZXJmbG93LmNvbS9xLzI1MTcyNy8xMDE=