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...

please give code for this 1 2 4 7 11 16

Answer Posted / aditya

#include<stdio.h>
int main()
{
int fir=1,nex=0;
for(nex=0;nex<6;nex++)
{fir=fir+nex;
printf("%d ",fir);

}}

Is This Answer Correct ?    3 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

where are auto variables stored? What are the characteristics of an auto variable?

1076


Tell me what is null pointer in c?

1082


Explain the use of 'auto' keyword

1125


What is return in c programming?

974


What is gets() function?

1138


What is the difference between far and near in c?

1071


What is wrong with this statement? Myname = 'robin';

1327


Which built-in library function can be used to match a patter from the string?

1303


how we can make 3d venturing graphics on outer interface

4834


What is string concatenation in c?

1094


Why do we need functions in c?

1024


Explain what is the difference between a free-standing and a hosted environment?

1187


Differentiate between full, complete & perfect binary trees.

1112


Explain what is the stack?

1107


Explain heap and queue.

1094