Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

main()
{
int i,n=010;
int sum=0;
for(i=1;i<=n;i++)
{s=s+i;
}
printf("%d",&s);
getch();
}

Answer Posted / anu

Error
since s is not declared

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I find out if there are characters available for reading?

1078


any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above

997


What happens if a header file is included twice?

996


Write a program of advanced Fibonacci series.

1108


Explain void pointer?

990


Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given

3027


What is structure in c explain with example?

1113


Why do we write return 0 in c?

1014


What is a const pointer?

1054


What is a scope resolution operator in c?

1220


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

1245


why do some people write if(0 == x) instead of if(x == 0)?

1025


Is calloc better than malloc?

983


a value that does not change during program execution a) variabe b) argument c) parameter d) none

1207


What is function prototype?

1076