1. What is the output of the below c code?

#include<stdio.h> 
        main() 
        {
           int x = 5;
           
           if(x=5)
           { 
              if(x=5) printf("Fast");
           } 
           printf("learning");
        }




2. C++ does not supports the following?





3.What is the output of the following program?

    #include<stdio.h>
               using namespace std;
               class Base {
               public:
                  void f() {
                     cout<<"Base\n";
                  }
               };
               
               class Derived:public Base {
               public:
                  void f() {
                     cout<<"Derived\n";
                  }
               };
               main() {
                  Base *p = new Derived(); 
                  
                  p->f();
      }
               




4. Delaration a pointer more than once may cause ?





5. A C++ code line ends with?





6.Function is used to allocate space for array in memory.?





7.An exceptio in C++ can be generated using which keywords?





8.To perfor file input / output operation in C++, we must include which header file ?






9.Which of the following is not the keyword in C++?





10.Which one is not a correct variable type in C++?





11.A class whos objects can not be created is known as?






12.In CPP, members of a class are ______ by default?





13.A ponter pointing to a variable that is not initialized is called?





14.Default constructor has ____ arguments.?





15.What is the output of the following program??

      #include<stdio.h>
      using namespace std;
main() { 
   int const a = 5;
   a++; 
   cout <<"a";
}