Podcast
Questions and Answers
What does the length() function return when applied to the string 'C PROGRAMMING IS FUN'?
What does the length() function return when applied to the string 'C PROGRAMMING IS FUN'?
According to the algorithm to calculate the length of a string, what is the initial value of 'I'?
According to the algorithm to calculate the length of a string, what is the initial value of 'I'?
What is the ASCII code for the uppercase letter 'Z'?
What is the ASCII code for the uppercase letter 'Z'?
If the ASCII code for a lowercase character is 105, what will be the ASCII code for the corresponding uppercase character?
If the ASCII code for a lowercase character is 105, what will be the ASCII code for the corresponding uppercase character?
Signup and view all the answers
What is the result of LENGTH('0') if the function returns the number of characters in a string?
What is the result of LENGTH('0') if the function returns the number of characters in a string?
Signup and view all the answers
What is the result of LENGTH('') if the function returns the number of characters in a string?
What is the result of LENGTH('') if the function returns the number of characters in a string?
Signup and view all the answers
What is the length of the string 'C PROGRAMMING IS FUN'?
What is the length of the string 'C PROGRAMMING IS FUN'?
Signup and view all the answers
What is the length of the string '0'?
What is the length of the string '0'?
Signup and view all the answers
What is the first step in the algorithm to calculate the length of a string?
What is the first step in the algorithm to calculate the length of a string?
Signup and view all the answers
What does the length() function return for an empty string?
What does the length() function return for an empty string?
Signup and view all the answers
If the ASCII code for the lowercase character is 105, what will be the ASCII code for the corresponding uppercase character?
If the ASCII code for the lowercase character is 105, what will be the ASCII code for the corresponding uppercase character?
Signup and view all the answers
What is the ASCII code for the uppercase letter 'Z'?
What is the ASCII code for the uppercase letter 'Z'?
Signup and view all the answers