Ask Question
17 October, 00:49

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

+2
Answers (1)
  1. 17 October, 04:21
    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?
Find an answer to your question ✅ “Write an expression that whose value is the fifth character of the string name. ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers