Question
What is the problem with the following code segment?
while ((fgets(receiving array,50,file_ptr)) != EOF) ;

Answers

Answer & Explanation:
fgets returns a pointer. So the correct end of file check is checking for != NULL.   Your Comment






Search
Can you Answer!!
  • Q What is proces?
  • Q What is embedUR systems interview process? or recruitment & selection process?
  • Q Which library would you prefer for plotting in Python language: Seaborn or Matplotlib?
  • Q Sattriya is a dance of which state
  • Q How do I open a URL in the default web browser?
  • Q Describe the mechanisms that contribute to the occurrence of ascites in an individual with cirrhosis of the liver in terms of resistance, flow and pressure changes in the splanchnic circulation.
  • Q Explain about pass by ref and pass by value?
  • Q WHAT ARE THE DEPLOYMENT MODELS AVAILABLE IN CLOUD COMPUTING?
  • Q What is the latest version of SMIL?
  • Q Who is the ultimate responsible to classify a company's information: the Infosec Team or the information owner?
  • Q What is oracle d2k? why we use it?