Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
VB.NET
Perl
COBOL
Pascal
FORTRAN
BASIC
Ada
C++
Scala
ASP.NET
 C
 :) Hot Jobs
 
 :) Latest Articles


  

 


Which of the following method of fs module is used to truncate a file?
Question Posted on 14 Apr 2024

Home >> Programming Languages >> Node.js MCQ >> Which of the following method of fs module is used to truncate a file?




Which of the following method of fs module is used to truncate a file?
Choose the correct option from below list
(1)fs.delete(fd, len, callback)
(2)fs.remove(fd, len, callback)
(3)fs.ftruncate(fd, len, callback)
(4)None of the above.

Answer:-(3)fs.ftruncate(fd, len, callback)
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Which of the following method of fs module is used to get file information?
What is Callback in Node.js?
Which of the following extension is used to save the Node.js files?
What does the REPL stand for in Node.js?
In which language is Node.js written?






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |