Question: Question 29 7 pts You are given a mathematical function: F(x, y) = x*x +yy, where x and y are both of integer type. (1)
Question 29 7 pts You are given a mathematical function: F(x, y) = x*x +yy, where x and y are both of integer type. (1) Write a C program macro.c, which includes a function definition Ff and a macro definition Fm, to implement mathematical function. In the main() function, use scanf to enter two integers to initialize x and y; call the function and macro using Ff(++X, ++y) and Fm(++X, ++y); and print the results of the two calls. [5 points) (2) If you want to use GNU debugger to debug macro.c, what command and options you should use to generate the file for debugging? [1 point] (3) What command you use to start debugging the program? [1 point) Edit View Insert Format Tools Table 12pt Paragraph BIU A 2 TY OS A MacBook Pro
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
