Question: Initialize the string S with your name and surname. Name and surname are connected by a character which is different than space. The program will
Initialize the string S with your name and surname. Name and surname are connected by a character which is different than space. The program will split string S into sName and sSurname. Use c-style strings. Print out string sName, its length, and string sSurname and its length. Do not use any built-in function, (write a function to take the string as an argument and return its length).
Step by Step Solution
3.37 Rating (156 Votes )
There are 3 Steps involved in it
To address the problem well utilize Cstyle strings which are essentially arrays of characters termin... View full answer
Get step-by-step solutions from verified subject matter experts
