Code:

 #include <stdio.h>
  2 
  3 int main(void)
  4 {
  5 float base, exp, result;
  6 
  7 
  8 
  9 printf("Enter base\n");
 10 scanf("%f",&base);
 11 printf("Enter exponent\n");
 12 scanf("%f",&exp);
 13 base=0;
 14 for (exp = -1000, exp <= 1000, exp++){
 15  base = exp;
 16  result = base * exp;
 17 }
 18 printf("Result is %f\n",result);
 19 return 0;
 20 }
~
warning: value computed is not used
exp.c:14: warning: value computed is not used
exp.c:14: error: expected â;â before â)â token
exp.c:14: error: expected expression before â)â token

Thanks guys.