Impiment the following strings functions with out using library functions compute the length of the string program
Answers
Answered by
0
include <stdio.h> int main() { char s[1000]; int i; printf("Enter a string: "); scanf("%s", s); for(i = 0; s[i] != '\0'; ++i); printf("Length of string: %d", i); return 0; }
mark as brainlist
mark as brainlist
Similar questions
English,
6 months ago
Social Sciences,
6 months ago
Political Science,
1 year ago
Science,
1 year ago
Math,
1 year ago