How do I know the "calling function" to a function. To make clear, I give examples.
void funcA ()
{
}
the from the same or other programs, there are some functions call "funcA()".
Now from "funcA()" itself, how do I know the name of the function which calls "funcA()" ?
I don't really get the idea ?
What is the use of the name of calling function ?
It might sound stupid, but
you can use
1 2 3 4
void funcA(String callingFunName)
{
}
Or if you want to know exact which function with how many argument other, and how it called your function funcA(), is may be not possible to know directly...