While Loop In Cpp Questions Interview