state gov UP Police Programmer Grade 2 Mock Test Series Programming and Data Structure Programming in C
What will be the output of the following code?
#include
using namespace std;
int main() {
float f = 3.14;
int i = static_cast
cout << i;
return 0;
}
1
3
2
3.1
3
0
4
Compilation error