Search
 
SCRIPT & CODE EXAMPLE
 

C

comment c

// single-line comment

/*
  multi-line
  comment
*/
Comment

how to add a comment in c

// This is a single-line comment

/* This is
a multi-line
comment */
Comment

comment in c language


// one line comment

/* 
more than
one line
comment
*/
Comment

how to add comment in c

A comment in C starts with
/*
This is a comment, it ends with
*/
Comment

C comment

/* comments in c work like this */

/*they can be one line...*/

/*
...or
multiple
lines
*/

printf("Hello World"); /* you can comment in the same line with code */
Comment

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

PREVIOUS NEXT
Code Example
C :: directory folders structure show windows 10 command prompt 
C :: c printing char pointer 
C :: print short in c 
C :: gcc option to show rules of makefile 
C :: .sh template 
C :: c convert char to int 
C :: c string to int 
C :: format specifiers in c 
C :: array size in c 
C :: enum in c 
C :: C first digit of integer 
C :: fwrite in c 
C :: c zero out array 
C :: latex remove page number from footer 
C :: windows forms picturebox change image 
C :: selection sort c 
C :: int data types in c 
C :: recursive in c 
C :: pandoc set margins pdf 
C :: c strcmp 
C :: getline() in c 
C :: threads in c 
C :: %g and %e in c 
C :: c programming programiz 
C :: what does packing mean in c 
C :: type cast in c 
C :: como somar em C 
C :: check if a number is even and bigger than or equal to 16 using bitwise 
C :: c ausgabe 
C :: how to input a para in c 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =