Question: MISC5 (1.5pts) class LegoMov public: bool *evIsAwes; void setEvIsAwes (bool b) *evIsAwes-b; LegoMovO evIsAwes new bool(false) int main (void) LegoMov movie; mo vie.setEvIsAwes(true); return 0;

MISC5 (1.5pts) class LegoMov public: bool *evIsAwes; void setEvIsAwes (bool b) *evIsAwes-b; LegoMovO evIsAwes new bool(false) int main (void) LegoMov movie; mo vie.setEvIsAwes(true); return 0; Are there any errors in the code? O Yes, movie is not initialized so we cannot call setEvIsAwes O Yes, the value that evIsAwes points to is not modified after we call setEvIsAwes O Yes, the code won't compile because of other unstated reasons. O Yes, there might be a memory leak. O No, it looks good to me
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
