Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

Single-line Comments in C

#include <stdio.h>

int main() {

  // create integer variable    
  int age = 25; 
 
  // print the age variable
  printf("Age: %d", age);

  return 0;
}
 
PREVIOUS NEXT
Tagged: #Comments #C
ADD COMMENT
Topic
Name
2+6 =