Question: understanding Follow the code below and write the output on output screen. (10p) #include void swap(int, int); int main() int a=72; int b=27; printf(Before swapping

 understanding Follow the code below and write the output on output

understanding

Follow the code below and write the output on output screen. (10p) \#include void swap(int, int); int main() int a=72; int b=27; printf("Before swapping the values in main a=8d,b=8d ",a,b); swap(a,b); printf("After swapping values in main a=8d,b=8a(n",a,b); return 0 ; 3 void swap (int a, int b) i int temp; temp =a; a=b; b= temp; printf("After swapping values in function a=88,b=8d ,a,b); Output Screen

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!