Q. ode snippets str1=”45678\n” str2=”123\n”
f1 = fopen(file1,RDWR,RWX) f2 = fopen(file1,RDWR,RWX) write(f1,str1,len_str1) write(f2,str2,len_str2)
o/p:

  • (A) 12378
  • (B) 123(newline)8(new line)
  • (C) 123(newline)78(ne wline)
  • (D) 45678(newline)1 23(newline)
πŸ’¬ Discuss
βœ… Correct Answer: (B) 123(newline)8(new line)

You must be Logged in to update hint/solution

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
364
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
99%
Success Rate