Add a comment at the end of a line of code using a notation: // - C Statement

C examples for Statement:Comments

Description

Add a comment at the end of a line of code using a notation: //

Demo Code

#include <stdio.h>

int main(void)
{
  printf("this is a test!"); // This line displays a quotation
  return 0;//w  w w . j  a va 2  s.  com
}

Result


Related Tutorials