This is a quite basic question but I've been looking everywhere and couldn't find an answer.
Consider the following code:
myFunction(MyObject** obj) {...}
int main()
{
MyObject *obj = NULL;
myFunction(&obj);
}
What is the result of this?
Is &obj
NULL? undefined? Does it segfault?