Home / C++ Programming / References :: Discussion

Discussion :: References

  1. Which of the following statement is correct about the program given below?

     #include 
     int GateFunction(int m)
     {  
          m *= m;   
          return((10)*(m /= m)); 
     } 
     int main() 
     {   
          int c = 9, *d = &c, e;     
          int &z = e;   
          e = BixFunction(c-- % 3 ? ++*d :(*d *= *d));    
          z = z + e / 10;     
          cout" " return 0;
     }
    

  2. A.

    It will result in a compile time error.

    B.

    The program will print the output 64 9.

    C.

    The program will print the output 64 10.

    D.

    The program will print the output 64 11.

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    No answer description available for this question.


Be The First To Comment