Tutorialspoint

fflush(stdin) in C language

#include <stdio.h>
#include<stdlib.h>
int main() {
   char s[20] = "Helloworld";
   printf("The string : %s", s);
   fflush(stdin);
   return 0;
}

Advertisements
Loading...