Programming in C - Functions and Recursions

26. Feature for accessing a variable through its address is desirable because

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


27. It is not advisable to use macros instead of functions because

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


28. Which of the following is/are syntactically correct?

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


29. Use of macro instead of function is recommended

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *


30. Following is a recursive function for computing the sum of integers from 0 to N.
function sum(N:integer):integer
begin
if N=0 then Sum=0
else
end;
The missing line in the else part is

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *