How to find length of String without using library and temporary variables in c ?

Showing Answers 1 - 3 of 3 Answers

vijay

  • Mar 4th, 2012
 

Incr count var until string encounters ""

Code
  1. cnt = 0;

  2. while (string !=)

  3. {

  4.     cnt++;

  5. }

  6.  

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions