MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the program?_x000D_ #include_x000D_ int main()_x000D_ {_x000D_ float a=0.7;_x000D_ if(a < 0.7f)_x000D_ printf("C\n");_x000D_ else_x000D_ printf("C++\n");_x000D_ return 0;_x000D_ } |
| A. | C |
| B. | C++ |
| C. | Compiler error |
| D. | Non of above |
| Answer» C. Compiler error | |