#include<stdio.h>
int main()
{
int a,i;
printf(“enter a number”);
scanf(“%d”,&a);
for(i=a;i<=a(a+10);i++);
{
printf(“%d “, i);
}
printf(“\n”);
}
#include<stdio.h>
int main()
{
int a,i;
printf(“enter a number”);
scanf(“%d”,&a);
for(i=a;i<=a(a+10);i++);
{
printf(“%d “, i);
}
printf(“\n”);
}
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.
this happens because of i<=a(a+10)
in this statement you try to pass argument to a but a is not a function.
sheetal is correct….
you are trying to pass a+10 argument to ‘a’ which is not function but a variable