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 a structure and why it is used?
i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical
find out largest elemant of diagonalmatrix
Is calloc better than malloc?
What is #include stdio h?
Tell me about low level programming languages.
What is integer constants?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
What are enums in c?
What is the use of getch ()?
Explain union.
Is c object oriented?
Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58