I think the question says it all. An example covering most standards from C89 to C11 would be helpful. I though of this one, but I guess it is just undefined behaviour:
raise() can be used to raise a segfault:
raise()
raise(SIGSEGV);