The method for creating a line of code in C that does not execute any actions is to use a comment. Comments are lines of code that are ignored by the compiler and serve as notes to explain the code to other programmers or remind yourself of what the code does. To create a comment in C, begin the line with two forward slashes (//) or enclose the comment in /* and */.
For example,
// This is a comment in C
/* This is another way of creating a comment in C */
Asked: 2021-06-17 11:00:00 +0000
Seen: 14 times
Last updated: Jul 03 '21