#include
int main(int argc, char** argv)
{
void (*p) (void);
/* this obviously won\'t work, but what string could I put in
here (if
Sort of, but not really, there is no eval() in c, like in many scripting languages.
However, what you are describing is sort of like a Buffer Overflow exploit.
Where, you use a string to write "code" (not c syntax, but machine code) into the address space after the buffer. Here's a nice little tutorial of the topic.
Don't use this information to write a virus :(