Question: Find all the syntax errors in the program below (15 marks) #include Class haha { public: }; haha (int a, int b) { cout
Find all the syntax errors in the program below (15 marks) #include Class haha { public: }; haha (int a, int b) { cout < < " haha " < < endl; } Class hehe { Class laugh: :public haha :: public hehe{ public: }; laugh (int a, int b)::hehe (d, f) { cout < < "laugh" < < endl; } Class laugh2::public haha { laugh2 (int d, int f) :: Laugh2 (a, b) {}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
