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

In which category does main function belong??

5 Answers  


Which is an example of a structural homology?

0 Answers  


#include<stdio.h> main() { char *p1; char *p2; p1=(char *) malloc(25); p2=(char *) malloc(25); strcpy(p1,"Ramco"); strcpy(p2,"Systems"); strcat(p1,p2); printf("%s",p1); } Tell me the output?

6 Answers   Ramco,


What is a pointer and how it is initialized?

0 Answers  


What is typedef example?

0 Answers  


what are the interview question's in the language c

2 Answers   Nipuna,


You have an array of n integers, randomly ordered with value 1 to n-1.The array is such that there is only one and one value occurred twice. How will you find this number?

1 Answers  


how to swap four numbers without using fifth variable?

2 Answers  


without using arithmatic operator solve which number is greater??????????

1 Answers   Accenture,


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

0 Answers  


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

2 Answers   Cap Gemini, HCL,


What is #include in c?

0 Answers  


Categories