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
Write a program of prime number using recursion.
What are logical errors and how does it differ from syntax errors?
Explain how can a program be made to print the name of a source file where an error occurs?
Does free set pointer to null?
What is ## preprocessor operator in c?
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
What are file streams?
What are pointers? What are stacks and queues?
Why is c not oop?
What are the types of type qualifiers in c?
how could explain about job profile
Write a program to use switch statement.
What is dynamic variable in c?
Explain the advantages and disadvantages of macros.
in linking some of os executables are linking name some of them