How can I check whether a file exists? I want to warn the user if a requested input file is missing.


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

Post New Answer

More C Interview Questions

Where is volatile variable stored?

0 Answers  


main() { char as[] = "\\0\0"; int i = 0; do{ switch( as[i++]) {case '\\' : printf("A"); break; case 0 : printf("B"); break; default : printf("C"); break; }} while(i<3); }

4 Answers   Vector, Vector India,


Can you assign a different address to an array tag?

0 Answers  


Was 2000 a leap year?

0 Answers  


write a function to find whether a string is palindrome or not and how many palindrome this string contain?

2 Answers   Aptech,






write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

0 Answers  


what is the code to display color fonts in the output?

1 Answers  


what is a static function

10 Answers   Satyam,


What are the string functions? List some string functions available in c.

0 Answers  


void main() {int i=2; printf("%d%d%d",i,++i,i++); getch(); }

9 Answers  


I didn't count the ducks that I saw in line, but I do remember that one duck was in front of two ducks, another duck behind two ducks. How many ducks did I see?

2 Answers  


wat is the meaning of c?

9 Answers   CTS, IBM, Wipro,


Categories