Question: C++ so when i try to copy a const char array to a variable i get an error indicating incompatible types in assignment of char*

C++
so when i try to copy a const char array to a variable
i get an error indicating "incompatible types in assignment of char* to char[5]"
ive tried iterating through length of char array and adding element to string but keep getting that error. what might be the problem

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The question is incomplete as it does not provide the full context or code being attempted However I can offer some insights and guidance based on the ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!