#include <stdio.h> int main () { if (remove( "myfile.txt" ) != 0 ) perror( "Error" ); else puts( "Success" ); return 0; }
a) Error
b) Success
c) Runtime Error
d) Can’t say
What will be the output of the following C++ code by manipulating the text file?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What will be the output of the following C++ code by manipulating the text file?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!