GeekInterview.com
Series: Subject: Topic:
Question: 36 of 587

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

Asked by: Interview Candidate | Asked on: Nov 10th, 2011
Showing Answers 1 - 1 of 1 Answers
vijay

Answered On : Mar 4th, 2012

incr count var until string encounters ""

Code
  1. cnt = 0;
  2. while (string !=)
  3. {
  4.     cnt++;
  5. }
  6.  

  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.