Which of the following statements is a valid way to open the file 'test.data' and associate it with unit $10$ in FORTRAN?
निम्नलिखित में से कौन-सा कथन मान्य है?
FORTRAN file connection syntax:
- Filename must be enclosed in quotes and specified with the FILE= specifier or valid parameter string.
- Missing the explicit FILE= specifier keyword in standard Fortran syntax.
- Without quotation marks, test.data is erroneously interpreted as a variable name.
- In standard FORTRAN 77/90, the OPEN statement requires
OPEN(UNIT=10, FILE='test.data')or simply positional unit with keyword specifier:open(10,file='test.data').
फोरट्रान फ़ाइल ओपन सिंटैक्स:
- फ़ाइल का नाम उद्धरण चिह्नों में होना अनिवार्य है।
- मानक सिंटैक्स में स्पष्ट FILE= विनिर्देशक की आवश्यकता होती है।
- बिना उद्धरण चिह्नों के यह चर नाम मान लिया जाता है।
- फोरट्रान में किसी फ़ाइल को यूनिट से जोड़ने का मानक मान्य सिंटैक्स
open(10,file='test.data')है।