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
Why can't I perform arithmetic on a void* pointer?
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
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
What is the hardest programming language?
Can you apply link and association interchangeably?
When should a type cast be used?
What is identifier in c?
What is the use of ?
How can I make sure that my program is the only one accessing a file?
Explain how can I remove the trailing spaces from a string?
What is a wrapper function in c?
Who is the main contributor in designing the c language after dennis ritchie?
What is a volatile keyword in c?
What is difference between Structure and Unions?
What is the difference between typedef struct and struct?