C language comment code example
Example 1: comment c
// single-line comment
/*
multi-line
comment
*/
Example 2: how to add comment in c
A comment in C starts with
/*
This is a comment, it ends with
*/
Example 3: how to add a comment in c
// This is a single-line comment
/* This is
a multi-line
comment */
Example 4: commenting in c
#include stdio.h
int main(){
printf("Only this code will be printed.");
//This is a single line comment.
/*
this is a multiple line
comment
*/
}