> char *puntRetorno="";
> char *point = &puntRetorno;
That should be char **point
> goto *point;
This will never work in C, it is a compiled language not an interpreter.
The best you can manage in C is something like this, to turn a keyword into an identifier
Code:
#include <stdio.h>
#include <string.h>
/* use a table for large numbers of cases */
int lookup ( const char *s ) {
if ( strcmp(s,"hello") == 0 ) return 0;
if ( strcmp(s,"world") == 0 ) return 1;
return 2;
}
int main()
{
char *word = "hello";
switch ( lookup(word) ) {
case 0:
printf("hello\n");
break;
case 1:
printf("world\n");
break;
default:
printf("Huh?\n");
break;
}
return 0;
}