1.

What will be the output of the below C++ program?#include<iostream>using namespace std;int main(){int a[] = {10,20,30,40,50};cout<<(*(&a+1)-a);return 0;}(A) 10(B) 0x7ffc7185f754(C) 50(D) 5

Answer»


Discussion

No Comment Found

Related InterviewSolutions