Page 1 of 1

(c) Given the definitions of myChars and myCopiedChars below, write a function in C which is capable of copying the cont

Posted: Mon May 09, 2022 7:11 am
by answerhappygod
C Given The Definitions Of Mychars And Mycopiedchars Below Write A Function In C Which Is Capable Of Copying The Cont 1
C Given The Definitions Of Mychars And Mycopiedchars Below Write A Function In C Which Is Capable Of Copying The Cont 1 (28.89 KiB) Viewed 53 times
(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)