Only 2 is incorrect. As we know a comment in C starts with /* and ends with */. There is no concept of nested comment in C . Once we put */ , the comment ends there. Rest of the line is considered as redundant and hence is synctactically incorrect in C