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 does the && operator do in a program code?
What is the explanation for modular programming?
what are bit fields in c?
What is the scope of an external variable in c?
How to Throw some light on the splay trees?
What is the difference between NULL and NUL?
What are examples of structures?
Is main a keyword in c?
Can you please compare array with pointer?
What is use of #include in c?
How can you find out how much memory is available?
Is there any demerits of using pointer?
The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
What is the explanation for cyclic nature of data types in c?