How can I make sure that my program is the only one accessing a file?


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

Post New Answer

More C Interview Questions

How to find the given no is odd or even without checking of any condition and loops. (Hint: Using array)

4 Answers  


write a program to print %d ?

12 Answers  


#include <stdio.h> void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf ("%d%d",k,l) ; }

3 Answers   SRG,


What language is windows 1.0 written?

0 Answers  


how memory store byte

4 Answers   Huawei,






What's a "sequence point"?

3 Answers  


What is the Purpose of 'extern' keyword in a function declaration?

0 Answers  


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

0 Answers  


What is s in c?

0 Answers  


Is main a keyword in c?

0 Answers  


c program to manipulate x=1!+2!+3!+...+n! using recursion

1 Answers   TCS,


What are the types of bitwise operator?

0 Answers  


Categories