Answer Posted / srujitha
int main()
{
int n = 5;
for( int i = 0; i <= n; i = i + 2)
{
for( int j = 0; j<=i;j++)
{
printf("*");
}
printf(" ");
}
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is n in c?
What is the condition that is applied with ?: Operator?
What are the rules for identifiers in c?
Why is c so popular?
What does a function declared as pascal do differently?
What does the error message "DGROUP exceeds 64K" mean?
Do character constants represent numerical values?
What is assert and when would I use it?
Can you write the algorithm for Queue?
What is a program flowchart and how does it help in writing a program?
What does typedef struct mean?
What is an array? What the different types of arrays in c?
How can I remove the leading spaces from a string?
What is use of #include in c?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon