fork download
  1. #include<math.h>
  2. #include<stdio.h>
  3. void main()
  4. {
  5. long int a,b,c;
  6. printf("\nenter the value of a & b:> ");
  7. scanf("%d %d",&a,&b);
  8. c=pow(a,b);
  9. printf("The calculated result is %d\n",c);
  10.  
  11. }
  12.  
Runtime error #stdin #stdout 0s 2172KB
stdin
Standard input is empty
stdout
enter the value of a & b:> The calculated result is -2147483648