write a c/c++ program that takes a 5 digit number and
calculates 2 power that number and prints it?
Answer Posted / parth ujenia
The condition is input take "5 digit" !
and according to above C prog
output of:12345
is: 27825
because range of integer data type is -32768 to 32767.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above
What language is c written?
How do you define a function?
What is console in c language?
What are different types of variables in c?
How to draw the flowchart for structure programs?
How does pointer work in c?
Differentiate between a for loop and a while loop? What are it uses?
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
What is the difference between char array and char pointer?
List a few unconditional control statement in c.
what are non standard function in c
how to print the character with maximum occurence and print that number of occurence too in a string given ?
how do you execute a c program in unix.
What is difference between structure and union with example?