(c) Given the definitions of myChars and myCopiedChars below, write a function in C which is capable of copying the cont
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
(c) Given the definitions of myChars and myCopiedChars below, write a function in C which is capable of copying the cont
(c) Given the definitions of myChars and myCopiedChars below, write a function in C which is capable of copying the contents of myChars to myCopiedChars using pointer notation. Additionally, any zeros encountered in myChars should be replaced with a 'l' in myCopiedChars. char *myChars = "COMP10120"; char myCopiedchars[9]; [14 Marks)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!