1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Len [333]
3 years ago
14

Assume that the customer file references a file object, and the file was opened using the 'w' mode specifier. how would you writ

e the string 'mary smith' to the file?
Computers and Technology
1 answer:
Basile [38]3 years ago
8 0
Here's an example using the safe fopen:

FILE* customer = NULL;
fopen_s(&customer, "test.txt", "w");
char* msg = "mary smith";
fwrite(msg, sizeof(char), strlen(msg), customer);
fclose(customer);

You might be interested in
What is up what everbody up to
andriy [413]

Answer: Eating chicken. drinking cool aid, and playing basketball

Explanation: look at my skin color and u will understand

5 0
3 years ago
Read 2 more answers
A(n) ____ path is a path used for external links that includes the complete address for the destination page, including the prot
algol [13]
An Absolute Path  Is the Answer
6 0
3 years ago
--concept mapping--
defon

Answer:

-Both need oxygen from the trees to breathe

-Without trees the population of animals and people would be dying

Explanation:

Thats all I can think of

7 0
3 years ago
What gaming PC should I get
zhuklara [117]

Answer:

ps5

Explanation:

8 0
3 years ago
Read 2 more answers
How do you know if someone read your message on messenger?
kherson [118]
It would say that the person read the message on the picture of the person. Example if you texted your friend at 7.00 and it said that the person read at 7.15. got it now?
3 0
3 years ago
Other questions:
  • Write a program that inputs a line of text and uses a stack object to print the line reversed.
    14·1 answer
  • Ask the user to enter a number n >= 1. There after the user will enter n-1 distinct integers between 1 and n. Thus, the enter
    9·1 answer
  • Think about the five steps to writing an algorithm. Why is each step necessary? Why is it important to be precise when writing c
    15·1 answer
  • The local emergency manager has the responsibility for coordinating emergency management programs and activities. A local emerge
    7·1 answer
  • True or false.the color attribute cannot recognized the hexadecimal code.
    7·2 answers
  • What are some good websites i can use to test my knowledge?
    11·2 answers
  • A spreadsheet has some values entered: Cell A1 contains 10, cell A2 contains 14, A3 contains 7. You enter in cell A4 the followi
    8·1 answer
  • Special words are those words that start and end with the same letter. [14]
    12·1 answer
  • Do anyone else receive random points from Brainly… because I swear I had like 2K+ something and I check and Im at ACE… and with
    10·1 answer
  • 10.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!