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 |
what different between c and c++
Develop a program that computes the new price of an item. The program should receive a character variable colour and a double precision floating-point variable price from the user. Discount rate is determined based on the colour of the discount sticker, as shown in the following table. An error message should be printed if an invalid colour has been entered
What language is lisp written in?
how to print the character with maximum occurence and print that number of occurence too in a string given ?
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
What are the usage of pointer in c?
Why static variable is used in c?
What is a file descriptor in c?
44.what is the difference between strcpy() and memcpy() function? 45.what is output of the following statetment? 46.Printf(“%x”, -1<<4); ? 47.will the program compile? int i; scanf(“%d”,i); printf(“%d”,i); 48.write a string copy function routine? 49.swap two integer variables without using a third temporary variable? 50.how do you redirect stdout value from a program to a file? 51.write a program that finds the factorial of a number using recursion?
i got 75% in all semester am i eligible for your company
What is the hardest programming language?
what is the little endian and big endian?