logo

Crowdly

Browser

Add to Chrome

Який результат виконання наступного фрагмента коду: char str[] = "Alphabet - a b...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Який результат виконання наступного фрагмента коду:

char str[] = "Alphabet - a b c d e f";

char* ptr = strstr(str, "a");

while (ptr)

{

cout << ptr - str << '\t';

ptr = strstr(ptr + 1, "a");

}

 

More questions like this

Want instant access to all verified answers on vns.lpnu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome