Hello,

Can someone explain why "inline if" does not work in this particular example:



#include <iostream>
using namespace std;

string replaceStr(string source, char a, string b)