the operator for exponencation is
a.**
b.^
c.%
d.not available

Answer Posted / sathish kumar

Hi All,

Upto my knowledge exponentiation operator is not available
in C. Because ^ operator is used for XOR operation. So we
cannot use that. But its possible by using Bitwise
operator to perform Exponentiation.

Thanks & Regards
Sathish Kumar

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)

5806


When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd

646


swap 2 numbers without using third variable?

666


Why do we use null pointer?

609


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

1635






When should volatile modifier be used?

558


what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above

681


How to set file pointer to beginning c?

672


in linking some of os executables are linking name some of them

1655


What are types of preprocessor in c?

624


What is the correct code to have following output in c using nested for loop?

615


Is c programming hard?

578


Why is c still so popular?

620


How can I write functions that take a variable number of arguments?

631


Explain how do you search data in a data file using random access method?

700