Discussion :: Input / Output
-
What will be the output of the program ?
#include
int main() { FILE *fp; char ch, str[7]; fp=fopen("try.c", "r"); /* file 'try.c' contains "This is Nagpur" */ fseek(fp, 9L, SEEK_CUR); fgets(str, 5, fp); puts(str); return 0; }
Answer : Option D
Explanation :
No answer description available for this question.
Be The First To Comment