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 |
What is line in c preprocessor?
using only #include <stdio.h> and #include <stdlib.h> Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.
What is c language and why we use it?
How can I read a directory in a C program?
2 Answers Bright Outdoor, Wipro,
What are the types of data structures in c?
How does C++ help with the tradeoff of safety vs. usability?
how to get starting address of a running C program
could u able to tell about suresoft technical session
Why malloc is faster than calloc?
What is nested structure with example?
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
Is it better to use a macro or a function?