Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~243 People Reached
Favorite Forums
Favorite Tags
c x 1
Member Avatar for PK.AMRAV

My coding shows error when built and run. The error shows multiple definition of 'main'. Can someone help me what I did wrong here? #include <stdio.h> int main() { FILE *fPtr; int c; fPtr=fopen("C:\\Question1.txt","r"); c = getc(fPtr); while (c!=EOF) { putchar(c); c=getc(fPtr); } fclose(fPtr); return 0; }

Member Avatar for deceptikon
0
243