Question: C question. Not Java! 1. Assume that name is a variable of type string that has been assigned a value . Write an expression whose
C question. Not Java!
1. Assume that name is a variable of type string that has been assigned a value . Write an expression whose value is the first character of the value of name . So if the value of name were "Smith" the expression 's value would be 'S'.
2. Assume that word is a variable of type string that has been assigned a value . Write an expression whose value is a string consisting of the last three characters of the value of word. So if the value of word were "biggest" the expression 's value would be "est".
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
