Can you use an assignment operator to assign the value of one-01145
This subjective question is related to the book/course vu eco403 Macroeconomics. It can also be found in vu eco403 Mid Term Solved Past Paper No. 1.
Question 1: Can you use an assignment operator to assign the value of one C-string to another?
Answer:
Yes we can assign the one value of C-string to another using assignment operator. We can assign the value of one string to another string through this method.
- A[0]=B[0]
- A[1]=B[2]
- A[3]=B[3]
And we can assign the whole string to another C string using Assignment operator by using loops.