0
help:- character counting program
#include<stdio.h> int main() { double i; for(i=0 ;getchar()!=EOF ;i++) { printf ("%d",i); } } the output for 1 is 2-1425436615 why? plz explain
2 Respuestas
+ 4
To print double, you need %f instead of %d
0
thank you for your help