It may be a glitch in the settings, or it may a parental block
The answer is E) both B and C
Answer:
The correct answer for the given question is option(b) i.e syntax
Explanation:
Syntax is the grammar of the structure format or order of the data meaning in which they are presented .syntax is the set of rules that define the words,symbol are to be a correctly structured or documented in that language.
Semantics differentiate the meaning of an data from its format it is not describe structure or format of the data so this option is wrong.
timing is not the correct option so correct answer is syntax.
#include
#include
using namespace std;
int CountCharacters(char userChar, string userString){
int result = 0;
for(int i = 0;i if(userString[i] == userChar){
result++;
}
}
return result;
}
int main(){
string userString;
char userChar;
cin>>userChar>>userString;
cout< return 0;
}
It contains the commands :)