Answers for "prototype in c"

C
1

prototype in c

You use a prototype to tell the computer that a function 
exists before you create it.

Code example:

#include <stdio.h>
// protoype
void function(); 

int main(void) {
  function();
}

// our function is after the int main void to makr the code cleaner
void function(){
  printf("This is a function");
}
Posted by: Guest on July-02-2021

Code answers related to "C"

Browse Popular Code Answers by Language