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

What does main () mean in c?

1059


What is a pragma?

1078


What is null pointer in c?

948


Here is a good puzzle: how do you write a program which produces its own source code as output?

1036


Explain what is a pragma?

993


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

2774


What is extern storage class in c?

943


What is the size of array float a(10)?

1092


What is the process to create increment and decrement stamen in c?

992


How to get string length of given string in c?

1010


What does void main () mean?

1179


Write a program to print factorial of given number using recursion?

960


Write a program to reverse a given number in c?

981


Explain the difference between ++u and u++?

1068


What is the code for 3 questions and answer check in VisualBasic.Net?

2101