3. a. Write a program that creates an array of 5 strings. The user is then asked to enter
the name, address and telephone number of 5 different people into this array.
b. Now write a function that is capable of finding the door number, any number that
may be included as part of the street name, the number of the post code, and the
telephone number inside a string. It should return the telephone number that is found
in the string.
this is the qeustion. how can i search the numbers in a string, and returing a telephone number??
pls help me out
Code:#include <stdio.h> int main (void) { char string[5][100]; int i; for(i=0;i<5;i++) { printf ("Enter Name, Address, Tel no: "); scanf("%s",&string[i]); } for(i=0;i<5;i++) { printf("%d. %s\n",i+1,string[i]); } return (0); }