(a) Mention two basic differences between 'Call by Value' and 'Call by Reference'. Write a simple program in C to swap two integer values using…
(a) Mention two basic differences between 'Call by Value' and 'Call by Reference'. Write a simple program in C to swap two integer values using 'Call by value'.
(b) What is the diamond problem of multiple inheritance in C++?
From the BPSC Assistant Programmer (ICT) July 2023 – Written exam, question 1 of 8.