Q:
      
      
         
            
What is the output of this program ?
       #include 
        using namespace std;
        int n(char, int);
        int (*p) (char, int) = n;
        int main()
        {
            (*p)('d', 9);
            p(10, 9);
            return 0;
        }
        int n(char c, int i)
        {
            cout << c <<  i;
            return 0;
        }
         
       
      
      
      
          
      
      
          Answer & Explanation
         Answer: A) d99         
         
Explanation: In this program, we have declared the values as integer instead of character, So it is printing as d99 but it will not arise an error.
       
      
      
      
          View Answer
          Report Error
          Discuss