Question: Question 2 (20 marks) (a) Explain the following terms as used in a C-Program, providing examples to justify your answer. (1) Variable (ii) Data type

 Question 2 (20 marks) (a) Explain the following terms as used

Question 2 (20 marks) (a) Explain the following terms as used in a C-Program, providing examples to justify your answer. (1) Variable (ii) Data type (ii)Pre-processor directive (9 marks) (b) Consider the following program: 1. #include 2. #include 3. 4. void fool (int a, int b) { 5. static int e = 5; 6. if (a>b) 7. C=c+a; 8. else 9. C-C+b 10. return ci 11. 1 12. 13. int main(void) 14. for (i=0i

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!