“C komentar multi-line” Kode Jawaban

komentar tunggal dan multiline di c

plz subscribe to my you tube channel -->
https://www.youtube.com/channel/UC-sfqidn2fKZslHWnm5qe-A


// this is a comment in c# .using two frontslash you can define a comment in c# language



/*this is a multiline comment in c#
we define multiline xomment by adding fron slash and a star and wen we end the 
multiline comment then again we write fron slashand a star but this time star
is
at the front */ 
Programmer of empires

Komentar satu baris di C

#include <stdio.h>

int main() {

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

  return 0;
}
SAMER SAEID

Komentar multi-line di C

/* This program takes age input from the user
It stores it in the age variable
And, print the value using printf() */

#include <stdio.h>

int main() {
    
  int age;
  
  printf("Enter the age: ");
  scanf("%d", &age);
 
  printf("Age = %d", age);

  return 0;
}
SAMER SAEID

Jawaban yang mirip dengan “C komentar multi-line”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya