Question: c programming and only use the functions given nothing else 1. Try this program to see how you can use pointers. include void foo (int

 c programming and only use the functions given nothing else 1.

c programming and only use the functions given nothing else

1. Try this program to see how you can use pointers. include void foo (int a, int "bp) *bp 5: int main(int argc, char argv) foola, &b) printf ("a sd b-sdo", a, b) When run, you should get: s./a.out a-0 b-s By using pointers, the foo function is able to change the b variable from the main function. Create a function to capitalize the string. Because you are passing the string as a pointer, the function will change the contents of the original string instead of changing the contents of a copy 2. #include int main(int argc, char argy) char string( 100)"ThiS AS strcap (string) printf ("The capitalized stineNNATAHERHig Long istring" When run, you should get: $./a.out the capitalized string is TH1

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!