
Asked in Cognizant and 3 others
Write a program to find the length of a string using a custom function.

AnswerBot
1y
Program to find length of string using custom function
Create a custom function that takes an array of strings as input
Iterate through each string in the array and calculate its length
Return the length...read more

peacefulorchid
1y
retired from
xd

peacefulorchid
1y
retired from
hello

peacefulorchid
1y
retired from
xd
Anonymous
1y
#include int main(void) { // declaring the variables int x; float y; char z; printf("Address of x: %p\n", &x); printf("Address of y: %p\n", &y); printf("Address of z: %p\n", &z); return 0; }
Comment deleted
Comment deleted
Add answer anonymously...
Interview Questions from Popular Companies

3.7
• 8.7k Interviews

4.0
• 5.4k Interviews

3.5
• 4.2k Interviews

3.6
• 8k Interviews

3.7
• 5.9k Interviews

3.7
• 6.1k Interviews

3.5
• 4.2k Interviews

3.7
• 5.1k Interviews
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

