Question: C language module c-2 (2.1) Write the program and copy the output too please! void printHeading O // No arguments, no return value printf (Add/Sub

C language

module c-2 (2.1)

Write the program and copy the output too please!

C language module c-2 (2.1) Write the program and copy the output

too please! void printHeading O // No arguments, no return value printf

void printHeading O // No arguments, no return value printf ("Add/Sub demo: "); int add (int a, int b) // Two args, a return int c; c a b; return c; int sub (int a, int b) return a-b; int main (O int m, n; /7No parameters printHeading Q; //With direct values: printf ("5 + 6-%d ", add(5,6)); // Capturing the return: msub(6, 5); printf ("6-5-%d ", m) ; /With variables

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!