How can I recover the file name given an open stream?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

SIR PLS TELL ME THE CODE IN C LANGUAGE TO PRINT THE FOLLOWING SERIES 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1 1 2 3 2 1 1 2 1 1

4 Answers  


how do you programme Carrier Sense Multiple Access

0 Answers  


#define MAX(x,y) (x) > (y) ? (x) : (y) main() { int i = 10, j = 5, k = 0; k = MAX(i++, ++j); printf("%d %d %d", i,j,k); } what will the values of i , j and k? }

14 Answers   CDAC, GATE, NDS, TCS,


what is volatile in c language?

9 Answers   Cap Gemini, HCL, Honeywell, TCS, Tech Mahindra,


What are nested functions in c?

0 Answers  






How can I read a directory in a c program?

1 Answers   CSC,


Discuss similarities and differences of Multiprogramming OS and multiprocessing OS?

4 Answers   TCS,


Which is an example of a structural homology?

0 Answers  


What is the difference between int main and void main in c?

0 Answers  


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..

0 Answers   IBM, Wipro,


hi how to convert program from notepad to turboc editor can u please help me

3 Answers  


Is it possible to initialize a variable at the time it was declared?

0 Answers  


Categories