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

progrem to generate the following series
1
12
123
1234
12345

Answer Posted / srsabariselvan

int main()
{
int i,j;
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
printf("%d\t",j);
}
printf("\n");
}
return 0;
}

Is This Answer Correct ?    115 Yes 27 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why can't I perform arithmetic on a void* pointer?

1161


struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer

1350


which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above

2122


What is the hardest programming language?

1216


Can you apply link and association interchangeably?

1180


When should a type cast be used?

1068


What is identifier in c?

1066


What is the use of ?

1088


How can I make sure that my program is the only one accessing a file?

1353


Explain how can I remove the trailing spaces from a string?

1108


What is a wrapper function in c?

1170


Who is the main contributor in designing the c language after dennis ritchie?

1056


What is a volatile keyword in c?

1220


What is difference between Structure and Unions?

1313


What is the difference between typedef struct and struct?

1172