Consider the following program and what will be content of t?#include int main() { FILE *fp; int t; fp = fopen('DUMMY.C', 'w'); t = fileno(fp); printf('%d\n', t); return 0; } - Study24x7
Social learning Network
28 Feb 2023 10:28 AM study24x7 study24x7

Consider the following program and what will be content of t?#include<stdio.h> int main() { FILE *fp; int t; fp = fopen("DUMMY.C", "w"); t = fileno(fp); printf("%d\n", t); return 0; }

A

size of "DUMMY.C" file

B

The handle associated with "DUMMY.C" file

C

Garbage value

D

Error in fileno()

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles