MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code? #include enum example {a = 1, b, c}; enum example example1 = 2; enum example answer() { return example1; } int main() { (answer() == a)? printf("yes"): printf("no"); return 0; } |
| A. | yes |
| B. | no |
| C. | 2 |
| D. | error |
| Answer» C. 2 | |