Dear sir/madam

how can we concatinate the character string to the integer string without using sscanf( ),sprintf( ),atoi( ),itoa( ) .

With Regards,
AMARNATH

First, make sure the destination string is NOT a string literal, and that the size of the destingation string buffer is large enough to hold both strings. Once you know that, then find the end of the destination string and copy the source string at that spot one character at a time and in a loop. You can use pointers to do that or some indexing scheme you devise.

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.