Answers for "gets syntax"

1

get() header file

stdio
Posted by: Guest on April-27-2020
0

gets syntax

#include <stdio.h> 
#define MAX 15 
  
int main() 
{ 
    char buf[MAX]; 
  
    printf("Enter a string: "); 
    gets(buf); 
    printf("string is: %s\n", buf); 
  
    return 0; 
}
Posted by: Guest on December-28-2020

Code answers related to "TypeScript"

Browse Popular Code Answers by Language