Question: onst char* someFunction(int* &abc) { string bla = something goes here; const char* chr = bla.c_str(); return chr; } int main(int argc, const char *
onst char* someFunction(int* &abc) { string bla = "something goes here"; const char* chr = bla.c_str(); return chr; } int main(int argc, const char * argv[]) { int x = 5; int* px = &x; cout << *someFunction(px) << endl; }
Choose one among:
a) s
b) memory location of the string "bla"
c) Compile error
something goes here
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
