Ask Question
26 October, 20:50

Write an expression that whose value is the fifth character of the string name.

+3
Answers (1)
  1. 26 October, 23:40
    0
    Int j;

    j="name"[4];

    / / you could do

    j=0; / / since name has four letters the fifth character is the terminating 0

    now if the string name is name

    you could do

    j=name[4]; / / or even 4[name]
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Write an expression that whose value is the fifth character of the string name. ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers