Question: C programming You are not allowed to use the string library , create a string processing function to extract the IP address from the URL

C programming

You are not allowed to use the string library, create a string processing function to extract the IP address from the URL input which enters by the user. and print its 32 bits starting from the most significant bit to least significant bit. Finally, update the URL with the converted IP address and store it in a char array with a size of 100.

For example:

User's input: https://192.56.23.12/main/user/rs450/index.html

converted IP address: 11000000.111000.10111.1100

Update the URL with converted address and store it in an array with size of 100:

https://11000000.111000.10111.1100/main/user/rs450/index.html

Again, string processing library is forbidden to use in the above program

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!