Adobe Interview Question
Testing / Quality AssurancesCountry: United States
Interview Type: Phone Interview
Gives out error due to usage of float type in the case conditions whereas x is defined as an integer.
if u give float number .. it will not resolve to interger constant.. if we pass float value.. it gives a compiler error
Only int or char can be used as the case in switch case.
- Rajiv January 30, 2012