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
Does free set pointer to null?
Give the rules for variable declaration?
Are enumerations really portable?
What are the 5 types of inheritance in c ++?
What is volatile variable in c?
What is a structure and why it is used?
What is the use of ?
Which built-in library function can be used to match a patter from the string?
How can you allocate arrays or structures bigger than 64K?
What is the difference between #include and #include 'file' ?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
Why main is not a keyword in c?
What are identifiers c?
What are the different data types in C?
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)