MCQOPTIONS
Saved Bookmarks
| 1. |
#include <iostream>using namespace std; template <int i>void fun(){ i = 20; cout << i;} int main(){ fun<10>(); return 0;}17.What will be the output of this program? |
| A. | Compiler Error |
| B. | 1 |
| C. | 2 |
| D. | 1024 |
| Answer» E. | |