crisa 4. Ce va afişa pe ecran urmatorul program? 6 4. Ce va afişa pe ecran urmatorul program? 600 0 #include <iostream> using namespace std; char x[]=”abbbabaaab”; int test(int i) { if(!x[i]) return 0; return (x[i]==x[i+1])+test(i+1); } int main() { cout<<test(0); return 0; } 100010001nimic, se obţine eroare la compilare0013001411001 Quiz Correct! Sorry! Try again. Your answer is partly wrong: Please enter a guess. Next correct letter in the answer: Correct answers: Show answer 1 1 nextpage.htm 0 1 1 0 0 0 2 2 0 0 0 Your score is :-) X Questions answered correctly first time: Questions completed so far: You have completed the exercise. Your time is over! => <= Index 1 1 0 contents.htm Geneva,Arial,sans-serif small #C0C0C0 #000000 #FFFFFF #000000 #0000FF #0000CC #000000 http://yourserver.com/cgi-bin/FormMail.pl you@yourserver.com Please enter your name: one two three Questions answered correctly first time: Check OK => <= Hint Show all questions Show questions one by one 1 0 0