0
What is a syantax?
2 Answers
+ 9
syntax is basically structure :
syntax of if :
if (condition){
statements;
}
+ 2
its used to check your code "grammer" is correctly structured.
like your question has received an output becuase the syntax of it is correct computers follow the same rules.