Ask Your Question
4

What is the method for creating a line of code in C that does not execute any actions?

asked 2021-06-17 11:00:00 +0000

djk gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-07-03 18:00:00 +0000

plato gravatar image

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 */

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-06-17 11:00:00 +0000

Seen: 14 times

Last updated: Jul 03 '21