Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to find string length wihtout using c function?

Answer Posted / ankitecian

int StrLen(const char *_input)
{
int _len = 0;
while( *(_input + _len) != NULL)
{
_len++;
}
return _len;
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is union and structure in c?

1164


How are structure passing and returning implemented?

1002


What are void pointers in c?

971


What is array within structure?

1076


Can we change the value of #define in c?

969


Why is struct padding needed?

1041


What is a protocol in c?

956


What is a 'null pointer assignment' error?

1176


Explain which function in c can be used to append a string to another string?

1049


Why do we use & in c?

957


Can we assign string to char pointer?

1049


hi send me sample aptitude papers of cts?

2113


What is a constant?

1009


What are the types of pointers?

1045


Why c is called top down?

1105