If I run the following in the deployment I will get 0 returned to the notebook.
#include <iostream>
int main() {
int* ptr = nullptr;
std::cout << *ptr;
return 0;
}
main();
e.g.
Whereas if I was to compile this code
#include <iostream>
int main() {
int* ptr = nullptr;
std::cout << *ptr;
return 0;
}
and try to run it locally (on a native platform), I get a segmentation fault as expected.