Write a program that displays length of each name stored in a 2D character array. You may
assume that 10 names are being stored in the 2D character array at a given time and the
length of the name may not exceed 30 charatcers.
nicky nelson
0
Newbie Poster
Recommended Answers
Jump to PostIf you are allowed to assume that these are C-style strings that will use a zero value to mark the end, the function you're looking for is
strlen
.
All 4 Replies
Moschops
683
Practically a Master Poster
Featured Poster
nicky nelson
0
Newbie Poster
Moschops
683
Practically a Master Poster
Featured Poster
David W
131
Practically a Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.