the operator for exponencation is
a.**
b.^
c.%
d.not available
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / valli
No expoenetial operator avaialble.
but library function pow() can be used.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / anuj pratap singh
Ans-d.not Available
Because in C ,there is no operator for exponencation.
we find out exponent in c by pow() funtion.
somebody confusion in ^ operator but this is use for XOR.
| Is This Answer Correct ? | 3 Yes | 0 No |
struct node { int *a; char *b; char array[12]; }; struct node m,*n; assign the value in *a,*b,char array[12]
A MobileNumber is a VIP number if it satisfy the following conditions. The operator should be Vodafone. Atleast one 0 (Zero) should be exist in mobile number. The number should not end with 8. The single digit sum of all the digits in the number should be equal to 9. For example if the number is 9876543210, the sum is 9+8+7+...+1+0 = 45. Sum of 4+5 = 9. Write a method: private boolean isVIPMobileNumber(String mobileNum, String operator) mobileNum phone number operator mobile operator as bsnl, Vodafone
What is difference between Structure and Unions?
what is the difference between getch() and getche()?
how we do lcm of two no using c simple if while or for statement
How are structure passing and returning implemented?
write a program in c language for the multiplication of two matrices using pointers?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
What is the difference between array and pointer?
write a c program for swapping two strings using pointer
What is c language and why we use it?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.