---
title: "What is strcpy( ) function in c plus plus?"  
description: "What is strcpy( ) function in c plus plus?"  
author: "Royce Roy"  
published: 2013-06-15  
updated: 2013-06-15  
canonical: https://www.mindstick.com/forum/1120/what-is-strcpy-function-in-c-plus-plus  
category: "visual c++"  
tags: ["visual c++"]  
reading_time: 1 minute  

---

# What is strcpy( ) function in c plus plus?

Hi [Expert](https://www.mindstick.com/articles/13120/an-expert-financial-advice-will-improve-your-finances),\
What is strcpy( ) [function](https://www.mindstick.com/articles/13001/multi-statement-table-valued-user-defined-function-in-sql-server) in c [plus plus](https://www.mindstick.com/forum/336/on-learning-problems-in-c-plus-plus)?\
Thanks in advance.

## Replies

### Reply by AVADHESH PATEL

strcpy( ) function is used to copy string.It takes two arguments.First argument is a string variable and second is string variable or string value.strcpy() function copy the value of second argument into first argument.\


---

Original Source: https://www.mindstick.com/forum/1120/what-is-strcpy-function-in-c-plus-plus

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
