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


write a programming in c language,
1
3 5
7 9 11

Answers were Sorted based on User's Feedback



write a programming in c language, 1 3 5 7 9 11 ..

Answer / shaik shafi

#include<stdio.h>
#include<conio.h>
void main()
{
int i,j,k;
clrscr();
k=1;
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
printf("%d ",k);
k=k+2;
}
printf("\n\n");
}
getch();
}

Is This Answer Correct ?    6 Yes 6 No

write a programming in c language, 1 3 5 7 9 11 ..

Answer / rehan

void main()
{
int i,j,k;
clrscr();
k=1;
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
printf("%d ",k);
k=k+2;
}
printf("\n\n");
}
getch();
}

Is This Answer Correct ?    2 Yes 4 No

Post New Answer

More C Interview Questions

How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?

2 Answers   CMC, Wipro,


What is the most efficient way to count the number of bits which are set in a value?

4 Answers  


What is meaning of "Void main" in C Language.

24 Answers   Ford, GU, HCL, IBIBS, JUW, TCS,


How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

0 Answers   Infosys,


12344321 123 321 12 21 1 1 how i print this program??

5 Answers   DSR Management, Winit,


What will the preprocessor do for a program?

0 Answers   Aspire, Infogain,


What are the different data types in C?

0 Answers  


a c code by using memory allocation for add ,multiply of sprase matrixes

0 Answers  


what does " calloc" do?

7 Answers   Cadence, Logos,


What is the use of in c?

0 Answers  


How can you draw circles in C?

0 Answers   Accenture,


How to print %d in output

6 Answers   Wipro,


Categories