What is the output of the following program? #include<iostream.h> void main() { enum birds{parrot,crow,pigeon,sparrow}; birds b=pigeon; cout<<b; }
Reveal answer
Fill a bubble to check yourself
What is the output of the following program? #include<iostream.h> void main() { enum birds{parrot,crow,pigeon,sparrow}; birds b=pigeon; cout<<b; }