Skip to main content
Life is a Curious Quest

Midterms

Midterms finished with my CSE 12 midterm tonight! The test was a doozy, but I will forever be entertained with the complexity of some of the problems. One of the sections required us to identify what type of variable was being declared for different declarations, with my favorite being a declaration for something like "a pointer to an array of pointers to functions returning pointers to arrays of function pointers".

I'm not exactly sure what the declaration for that would look like in C, but I think it is something on the order of:

*((*(*(*x)[])())[])();

It just makes me smile.