Bob Cummings played which character (both names)

Question
Bob Cummings played which character (both names)
Answer
Maxwell Smart