// single-line comment
/*
multi-line
comment
*/
// This is a single-line comment
/* This is
a multi-line
comment */
// one line comment
/*
more than
one line
comment
*/
A comment in C starts with
/*
This is a comment, it ends with
*/
/* 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 */
#include stdio.h
int main(){
printf("Only this code will be printed.");
//This is a single line comment.
/*
this is a multiple line
comment
*/
}
Code Example |
---|
C :: c radians |
C :: addition.c |
C :: memcpy c |
C :: multiplication table in c |
C :: c recursion func revers number |
C :: C Arithmetic Operators |
C :: warning: function returns address of local variable [-Wreturn-local-addr] |
C :: C first digit of integer |
C :: lateinit kotlin |
C :: 2 dimensional array in c |
C :: prime factorization in c |
C :: c for |
C :: stack push |
C :: check whether a number is prime or not in c |
C :: c concatenate and allocate string |
C :: rfid rc522 code |
C :: c linked list |
C :: create point cloud from rgbd image in open3d v0.10 |
C :: fahrenheit to celcius |
C :: how to join an array of strings c |
C :: scan c |
C :: size of operator in c language |
C :: Install valet-linux |
C :: marquee html code with right |
C :: obstacle avoiding robot in c++ program |
C :: c program boilerplate |
C :: grep C hello world |
C :: ejemplo c holamundo |
C :: buble sort in c that ask user input |
C :: Entering raw mode |