Question: Are there any bugs in this program? and if so how should i fix them? // library.c You may not change this file // and

Are there any bugs in this program? and if so how should i fix them?

// library.c You may not change this file

// and must use this function.

long square(long x) {

return x*x;

}

// main.c

int main() {

int x = 1000000;

printf(The square of %d is %d , x, square(x));

}

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!