Question: Define a character array named nameArray that contains the first 7 letters of your full name as the array's elements in sequence. For e.g., for

Define a character array named nameArray that contains the first 7 letters of your full name as the array's elements in sequence. For e.g., for someone named Jon. P. Doe, the variable should e: char nameArravlTE registration records) and use all uppercase characters. If your full name has more than 7 letters, take the first 7 letters. If your full name has less than 7 letters, pad it by repeating characters. For. e.g. if your name is Xu Li, pad it like so: {X.U','L'XLy DEFINE CHARACTER ARRAY INCLUDING INITIALIZATION
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
