What will be the output of following program? #include <iostream> using namespace std; int main() { char* upwork; try { upwork = new char[1024]; if (upwork == 0) throw "Projects"; else cout<<sizeof(upwork) << "Freelancers"<<endl; } catch(char *strg) { cout<<"Feedback"<<strg<<endl; } return 0; }
Correct Answer: It depends on the size of the data type.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More C++ MCQ Questions