Is there any way to swap between two functions implementation in C++ ?
Something like this:
void printA(); // print a char
void printB(); // print b char
printA(); // output: a
printB(); // output: b
functionSwap(printA, printB);
printA(); // output: b
printB(); // output: a
I want to use it with the ExitProcess function.