I can normally extract the data of array as:
#include <stdio.h>
int main()
{
char str[100] = "The quick brown fox jumps over the lazy dog";
char *c = (str + 29);
printf("%s\n", c);
return 0;
}
But if I have to extract data from the entire unsorted and n-sized array where n
value may be more than 70 as like:
unsigned char buffer[n] = "00,00,00,11,30,45.00,a,1.1,b,d,16,ABC,98.0";
unsigned char buffer1[n] = "A,3,22,18,21,06,03,09,24,15,,,,,2.5,1.6,1.9*3E";
How can I extract some specific data like 45.00
from this unsorted array?