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
What is non linear data structure in c?
What is the difference between union and structure in c?
What is c value paradox explain?
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
Define and explain about ! Operator?
List some of the static data structures in C?
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
What is the difference between char array and char pointer?
What is the code for 3 questions and answer check in VisualBasic.Net?
When should a type cast not be used?
What is scanf () in c?
Write a code to generate a series where the next element is the sum of last k terms.
how is the examination pattern?
Can we declare a function inside a function in c?