A disc is spinning on a spindle , and you do n't know which way . You are given a set of pins . Describe how you would use them to determine which way the disc is spinning ?
Why do n't C++ arrays have an easy way to check their size ?