Please can somebody help me to concatenate names in c.
I try to enter names but anytime it will teat them as separate strings.
this is what I tried to do :


But i was getting segmentation faults,
can you figure anyway out.

Do you want to actually post the code with regards as to what you want to do? It's blank!

> a[l1+i] = 0;
You didn't initialise i
That means boom today (or boom tomorrow if you're unfortunate)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.