Question

4. If a string is declared as char capital [20], and the statement strepy (capital, Edmonton) is executed, what is the value of capital 81? a) E e) none of these b) o c) In d) n

0 0
Add a comment Improve this question Transcribed image text
Answer #1

e) none of these

Because it doesn't print anything at all.

Edmonton has indices of 01234567 and there isn't any character in the place of 8th index. So, it doesn't print anything.

Add a comment
Know the answer?
Add Answer to:
4. If a string is declared as char capital [20], and the statement strepy (capital, "Edmonton")...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT