If we want to
write English paragraph then some rules have to follow, these set of rules are
called grammar. In the same way programmer has to follow set of programming
rules called syntax. Suppose in following instruction is written according to
rules
cout<<”Rao Israr”;
But when these
rules are violated like
cout<<’Rao Israr’;
Called syntax
error, because single quotation marks are used except double.
More details visit: https://www.youtube.com/watch?v=He5e4kEibIo
No comments:
Post a Comment