Skip to main content

Posts

Showing posts with the label cgets

Cgets

Cgets :- Its is a Delcaration type   Ex:- {char*cgets(char*str;)} Cgets reads a string of characters from the console and stores the string ( and the string length ) in the location  *str[0]. Before you call cgets,ste str[0] to the maximum length of the string to be read.