Home / Expert Answers / Computer Science / a-the-skeletal-structure-of-a-c-program-is-shown-below-void-funct-int-p-void-main-void-pa169

(Solved): a) The skeletal structure of a C program is shown below. void funct (int p ); void main(void) \{ ...



student submitted image, transcription available below
a) The skeletal structure of a C program is shown below. void funct (int ); void main(void) \{ static int ; funct (a); \} void funct (int *p) \{ int ; for sum ; printf("sum=\%d", sum); return; \} (i) What kind of argument is passed to funct? (2 marks) (ii) What kind of information is returned by funct? (2 marks) (iii) What information is actually passed to funct when it is called from main? (2 marks) (iv) What is the purpose of the for loop that appears in funct? (2 marks) (v) What value is displayed by the printf statement in funct?


We have an Answer from Expert

View Expert Answer

Expert Answer



We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe