Definition: In programming, a "shellhead" is a type of variable in C and C++. It is an array-like object that holds two pointers to another array, allowing for dynamic allocation and deallocation. In other words, it's like a pointer to an array, but with a different kind of structure.