Home / MCQ Bank / Computer
Computer Function Difficulty: Medium

What will be the output of the following C code? #include <stdio.h> double var = 8; int main() { int var = 5; printf("%d", var); }

Select the correct option to test your answer:

More Computer Questions

What will be the output of the following C++ code? #include <iostream> #include <string> #include <cstdlib> using namespace std; template<class T> class A { public: A(){ cout<<"Created\n"; } ~A(){ cout<<"Destroyed\n"; } }; int main(int argc, char const *argv[]) { A <int>a1; A <char>a2; A <float>a3; return 0; } What is the purpose of the ViewState in ASP.NET? What is the result of True ^ False ? What is the result of reversing a singly linked list? The EAM device that does not use a control panel is the: