Question: int main() { 1. Write a C function that takes a string parameter and returns the length of the string as an integer without using

int main() { 1. Write a C function that takes a string parameter and returns the length of the string as an integer without using any library functions. char *c; char v = 'a'; C = &v; char d = 1; V = V + 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 O E.g. int string_len(char str[]) 2. What is printed when the C program on the right is executed? printf("%d ", v); printf("%d ", *c); printf("%d ", d); printf("%c ", v); * return 0; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
