program for following output using for loop?
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
Answer Posted / sampath
for(i=1;i<=5;i++){
for(j=i;j<=i;j++)
printf("%d",i);
printf("\n");
}
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
How does normalization of huge pointer works?
What is the data segment that is followed by c?
What is queue in c?
State two uses of pointers in C?
Explain logical errors? Compare with syntax errors.
What is the use of typedef in c?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
What is operator promotion?
What are run-time errors?
Write a program to print numbers from 1 to 100 without using loop in c?
Can you tell me how to check whether a linked list is circular?
What does printf does?
How does sizeof know array size?
What are pointers? What are stacks and queues?