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
Black_prince [1.1K]
3 years ago
15

Which C99 function can be used to convert a string to a double?

Computers and Technology
1 answer:
nordsb [41]3 years ago
5 0

Answer:

atof

Explanation:

atof function is used to convert a string to a double.

It takes a single parameter of type const char * and returns a double value.

The function signature is: double atof (const char* str);

In order to use this function in the code, you need to include the header file <stdlib.h>

For example:

#include <stdio.h>

#include <stdlib.h>  

int main()

{

   char str[5] = "0.01";

   double d = atof(str);

   printf("Value = %f\n", d);

   return 0;

}

You might be interested in
Why should computers have a file structure? For organization For storing code To prevent viruses To keep back-ups of files
AURORKA [14]

Answer: I believe the answer to your question is  For organization I hope this helps!  

8 0
3 years ago
Create a trigger that prevents anychange(insert, update, or delete)to the grade attribute of the takesrelation that would change
Dmitriy789 [7]
Omg co ol like chicken is funny sometimes
6 0
3 years ago
Explain the HTTP protocol in your own words. (up to 150 words
-BARSIC- [3]

Answer:

HTTP protocol is basically stand for the hyper text transfer protocol. It is an application protocol that is basically distributed and collaborative. The hypertext transfer protocol is the foundation of the data communication in the WWW( world wide web).

It is basically work between the client and the server as the request response.

It is generally used in the transmission control protocol (TCP) for the communication with the server. The HTTP is basically used in the wireless communication.

3 0
3 years ago
What is the process of identifying rare or unexpected items or events in a data set that do not conform to other items in the da
kupik [55]

Anomaly detection is the process of identifying rare or unexpected items or events in a data set that do not conform to other items in the data set.

<h3>What is Data?</h3>

This is referred to as a raw form of information and comprises of facts, numbers, etc.

Anomaly detection identifies abnormal data from a given set which is why it is the most appropriate choice.

Read more about Data here brainly.com/question/4219149

#SPJ1

3 0
2 years ago
One of the main reasons for copyright law is to encourage creators to share their work for the benefit of the general public. Pl
irina [24]

Answer:

ewatuqhfuyerhjf

Explanation:

true

8 0
2 years ago
Other questions:
  • Which task manager tab provides details about how a program uses system resources?
    14·1 answer
  • Which of the following is a school-to-work program that provides the student with paid employment, school credit, and school gra
    7·2 answers
  • Telepresence provides the opportunity for people to work from home and attend virtually. True False
    5·2 answers
  • The software used to help run the computer hardware is the _____.
    9·2 answers
  • a) Before writing any code, you should go through a design process. Try to do so carefully – either follow a top-down approach,
    15·1 answer
  • A rocket always rotates about its___?
    9·2 answers
  • The right to make others do things is referred to as _________.
    14·2 answers
  • Which type of computer serves as the heart of the computing systems for many, perhaps most, major corporations and government ag
    12·1 answer
  • _ ports are audiovisual ports typically used to connect large monitors. These ports are used with many Apple Macintosh computers
    12·1 answer
  • When working with track changes, what is the difference between simple markup and all markup?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!