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 / rupesh d. patil

Error


undefined symbol 's' in function main()
Warning

'sum' is assigned a value that is never used in function main

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why c language?

1117


Why is C language being considered a middle level language?

1208


why return type of main is not necessary in linux

2151


Why pointers are used?

1116


WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..

2136


What is the purpose of sprintf?

1203


How do you construct an increment statement or decrement statement in C?

1272


Give me the code of in-order recursive and non-recursive.

1421


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

1322


What is non linear data structure in c?

1072


Are bit fields portable?

1207


What is pass by reference in c?

1239


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

1187


What is || operator and how does it function in a program?

1161


Differentiate between calloc and malloc.

1317