Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

gets syntax

#include <stdio.h> 
#define MAX 15 
  
int main() 
{ 
    char buf[MAX]; 
  
    printf("Enter a string: "); 
    gets(buf); 
    printf("string is: %s
", buf); 
  
    return 0; 
} 
 
PREVIOUS NEXT
Tagged: #syntax
ADD COMMENT
Topic
Name
8+9 =