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 |
How to reverse a linked list
1 Answers Aricent, Fidelity, IBM, TCS,
What is Heap?
What is p in text message?
What is oops c?
What is pointer to pointer in c language?
What are the complete rules for header file searching?
explain about storage of union elements.
Write a program which has the following seven functions. The functions should be: • main() this calls the other 6 functions • fget_long() a function which returns a long data type from a file • fget_short() a function which returns a short integer variable from a file • fget_float() a function which returns a floating point variable from a file • fprt_long() a function which prints its single, long argument into a file • fprt_short() a function which prints its single, short argument into a file • fprt_float() a function which prints its single, floating point argument into a file. You should use fscanf() to get the values of the variables from the input (the file) and fprintf() to print the values to the other file. Pay attention to using the correct format for each of the data types.
Which is not valid in C? 1) class aClass{public:int x;} 2) /* A comment */ 3) char x=12;
what is the output of the following program and explain the answer #include<stdio.h> exp() { main(5) } main(int a) { printf("%d",a); return; }
Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it?
What does 2n 4c mean?