Explain the difference between fopen() and freopen().
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
fopen(): Opens a new file.
freopen(): Reopens a file stream to a different file or mode.
| Is This Answer Correct ? | 0 Yes | 0 No |
fopen(): Opens a new file.
freopen(): Reopens a file stream to a different file or mode.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why is conio.h not required when we save a file as .c and use clrscr() or getch() ?
What do you know about the use of bit field?
logic for generating all the combinations of the any number of given letters. ex::::::::: if a,b,c,d are given the o/p should be abcd,dcba,dbac,bcad,................ 4*3*2*1 combinations............
Differentiate between null and void pointers.
what is the diference between pointer to the function and function to the pointer?
Blade logic interview question. 1st round is a written tests with 15 multiple questions from c and c++. All are simple basic question. Like int main () { Int i=65; Return printf(“%c”, i); } 2nd and 3rd round is technical interview. The position for which I was interview was core UNIX and c. Yes it is for system programming. The company has product name blade server. For their server they are creating their own command for their purpose. Example cd command. We can implement it in a c program by using the chdir() function. So the question asks related to PID, fork, pipe, shared memory, signal. Write a program in c which will act as cp command.
1 Answers BladeLogic, Infosys,
how can i get this by using for loop? * ** * **** * ******
What is the purpose of main( ) in c language?
write a program to create a sparse matrix using dynamic memory allocation.
if the total selling price of 15 items and the total profit earned on them is input through the keyboard, write a program to find the cost price of one of the item
what is the use of keyword volatile??
What are lookup tables in c?