I am working on a project and i want to compose one main string out of several substrings in C.
I have 3 variables:
My first step is to convert them to character arrays usin snprintf.
Then i want to compose one main string out of the substring and get the result: "1.66 1.55 2.3"
How can i achieve this by usin strncat??