This question has already been solved: Start a new discussion instead

0

```
double a,b;
printf("%f",a^b);
```

error occurs as shown in heading.

any alternative method?

Reputation Points: 5,693 [?]

Q&As Helped to Solve: 1,537 [?]

Skill Endorsements: 81 [?]

•Team Colleague

Reputation Points: 2,905 [?]

Q&As Helped to Solve: 1,151 [?]

Skill Endorsements: 45 [?]

•Team Colleague

1

Where you got the idea ^ means *raised to the power* in C is a great question.

Belaying that, look in the `math.h`

header for the function `pow()`

You