Question

 

Write a C Program to Concatenate Two Strings Without Using strcat() function

24 Feb 2025
Answer :
Word Count : 388

Certainly! Below is a C program that concatenates two strings without using the `strcat()` function. Instead, the program manually appends the characters of the second string to the first string.

### C Program:
```c
#include <stdio.h>

void concatenateStrings(char str1[], char str2[]) {
    int i = 0, j = 0;

    // Move to the end of the first ___ ______ ____ _______ ____ _________.
_______ ______ ______ __________ __________ ______.
_______ ____ ________ ______ _________ _________.
______ ____ _____ ____ _____ _______ _____ ___ ____.
_______ ___ ________ _______ ____ __________ ____ _________ ___ _______.
_______ ____ ____ _______ __________ _______ ___ ______ _____.
_______ _____ ________ _________ ______.
__________ _____ _____ ___ ______ _____ ______ ___ ______.
___ ______ _________ ____ __________.
____ ________ _____ __________ _______ _________ ______ _____.
_____ ________ _______ _________ _______ __________ _________ ________ _________ _____ __________.
_____ ___ _________ ______ _____ _____ ____ ________ _________ _____ ______ ___.
__________ _______ _______ ___ ________ ____ _______.
___ _____ _________ ______ ___ _______ ________.
_______ _________ _____ ____ __________.
_____ ______ ___ _____ __________ _____ ___ __________ _______ _____ __________ __________.
________ _________ ______ ________ _________ _____ __________ _________.
________ __________ ____ _________ ________ _____.
_________ ________ ________ _________ ______ ____ __________ ___.
____ ______ _________ ________ __________ ______ _______ __________ _____ _________ ________ ________.
_____ _______ __________ ____ _________ _________ ______ ___ ________ ________ ___ ____.
____ ______ __________ ______ ___ _______ __________ _______.
_________ _____ ___ ____ ___ _________ ________ __________ ____ ______ ________.
_____ ___ ________ _____ _____ __________.
_______ ________ _____ ______ ____ ____ ___ _____ _______ ____ _________.
________ ____ ____ ____ _________.
______ __________ _____ _______ _________.
____ _____ ____ ________ __________ ____.
_____ ______ __________ _________ ______ _________ _________.
_______ ___ ______ _________ _________ ______ __________ __________ _______ ______ ______.
_______ _________ ___ _______ _____ _________ _______ _______ ___ ____ ________ __________.
______ ________ __________ ______ ____ __________ __________ _____ __________ ___.
______ ________ _____ ___ ____ ____ _____.
__________ __________ ________ _________ ______ _______ _______ ______ _______ __________ _______.
___ ____ __________ _________ __________ ___.
_______ _______ _______ _______ _____ __________.
_____ ______ ____ _____ ________.
_________ _______ ___ __________ _______.
___ _____ _______ _____ ____ __________ _________ ______.
_________ __________ ___ ____ ___ ________ _________ ________.
_______ ____ ___.
Get Full Answer on WhatsApp

IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance  Write a C Program to Concatenate Two Strings Without Using s
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→