πŸ“Š C Programming
Q. Which function is used to concatenate two strings in C?
  • (A) concat()
  • (B) cat()
  • (C) stringcat()
  • (D) strcat()
πŸ’¬ Discuss
βœ… Correct Answer: (D) strcat()

Explanation: In C programming language, the strcat() function is used to concatenate two strings.

Syntax:

strcat(s1, s2);
This function concatenates string s2 onto the end of string s1.

Explanation by: Chandani
In C programming language, the strcat() function is used to concatenate two strings.

Syntax:

strcat(s1, s2);
This function concatenates string s2 onto the end of string s1.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
218
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Chandani
Publisher
πŸ“ˆ
89%
Success Rate