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


how to print this sereis 2 4 3 6 5..........?

Answers were Sorted based on User's Feedback



how to print this sereis 2 4 3 6 5..........?..

Answer / iamdluffy

something like

for(n=2;n<somenumber;n++)
{
print n;
print n*2;
n=n-1;
}

Is This Answer Correct ?    2 Yes 1 No

how to print this sereis 2 4 3 6 5..........?..

Answer / taz

2 3 5 is prime number & 4 after 2, 6 after 3...is two times
of previous number.

Is This Answer Correct ?    0 Yes 1 No

how to print this sereis 2 4 3 6 5..........?..

Answer / habeeb ahmed

10

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C Interview Questions

what is the difference between class and unio?

0 Answers   HCL, Wipro,


what is ram?

3 Answers   TCS,


void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i<n;i++) *(x+i)+=2; y=y+2; }wat r the errors in the prg.and improvise the prg to get o/p.?

2 Answers   TCS,


How to removing white spces in c programming only bu using loops

2 Answers  


console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

0 Answers  


What is the difference between pure virtual function and virtual function?

0 Answers  


What is void c?

0 Answers  


Write a program to print distinct words in an input along with their count in input in decreasing order of their count

0 Answers  


What is sparse file?

1 Answers  


What are terms in math?

0 Answers  


hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..

0 Answers  


1)what are limitations for recursive function? 2)write a program to read a text file and count the number of characters in the text file

1 Answers  


Categories