What does the following program code do? #include<stdio.h> void main() {FILE *f;char ch; int noi=0; f=open(“d.txt”,”r”); while(1) { ch=fgetc(f); if(f==EOF) break; if(ch==’ ‘) noi++’;} fclose(f); printf(“No. of …….=%d”,noi);}
Reveal answer
Fill a bubble to check yourself