/* Collection of code snippets by Arne Vajhøj */
/* (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) */
#include <stdio.h>

void test1()
{
   int str;
   sscanf("65","%d",&str);
   printf("%d\n",str);
   return;
}

void test2()
{
   char str[33];
   sscanf("65","%s",str);
   printf("%s\n",str);
   return;
}

void test3()
{
   char str[33];
   sscanf("65","%d",str);
   printf("%s\n",str);
   return;
   return;
}

void test4()
{
   char str[33];
   sscanf("65","%d",&str);
   printf("%s\n",str);
   return;
   return;
}

int main()
{
   test1();
   test2();
   test3();
   test4();
   return 0;
}
