What Is The Output Of The Following Codep Pre Langc #1611

What is the output of the following code?</p> <pre><code class="language-c"> int cnt = 0; void my_recursive_function(char *s, int i) { if(s[i] == '\0') return; if(s[i] == 'a' || s[i] == 'e' || s[i] == 'i' || s[i] == 'o' || s[i] == 'u') cnt++; my_recursive_function(s,i+1); } int main() { my_recursive_function("thisisrecursion",0); printf("%d",cnt); return 0; }</code></pre>

Online Quiz This multiple choice question (MCQ) is related to the book/course gs gs122 Data Communication and Computer Network. It can also be found in gs gs122 Recursion - Recursion - Quiz No.2.


Similar question(s) are as followings:



Online Quizzes of gs122 Data Communication and Computer Network

Choose an organization

Theme Customizer

Gaussian Texture



Gradient Background