Write a program in c to print
1
121
12321
1234321
123454321
Answer Posted / smita adhikari
a = 1
FOR i = 1 TO 5
PRINT a * a
a = a * 10 + 1
NEXT i
END
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is #line?
What is wild pointer in c?
What is the difference between malloc() and calloc()?
When the macros gets expanded?
Should I learn data structures in c or python?
What is the difference between text and binary i/o?
What are structural members?
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
What is break in c?
praagnovation
Explain about C function prototype?
Why can arithmetic operations not be performed on void pointers?
Why do we use & in c?
Can main () be called recursively?
How can I call a function with an argument list built up at run time?