program for following output using for loop?
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
Answer Posted / natu
Hellow Sashi Ur wrong because Ur program is giving output as
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
but the expected output is
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
please refer and tell me
| Is This Answer Correct ? | 49 Yes | 0 No |
Post New Answer View All Answers
‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
What is hashing in c language?
Can we change the value of constant variable in c?
What are different storage class specifiers in c?
Write a program to print “hello world” without using semicolon?
What are the differences between Structures and Arrays?
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
Is the exit() function same as the return statement? Explain.
What is the hardest programming language?
What is a dynamic array in c?
What does the c preprocessor do?
Explain can you assign a different address to an array tag?
Differentiate between Macro and ordinary definition.
How can a number be converted to a string?