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...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.