Quantcast
Viewing all articles
Browse latest Browse all 22167

why the program is not terminating in gcc? [closed]

Why the program listed below is not terminating. I am using gcc compiler in linux.

#include <stdio.h>int main(void){    int c;    printf("Enter characters: ");    while((c = getchar()) != EOF)        putchar(c);    return 0;}

Viewing all articles
Browse latest Browse all 22167

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>