write a program to produce the following output;
ABCDEFGFEDCBA
ABCDEF FEDCBA
ABCDE EDCBA
ABCD DCBA
ABC CBA
AB BA
A A
Answer Posted / smar tass
#include <stdio.h>
int main (void) {
printf('ABCDEFGFEDCBA\nABCDEF FEDCBA\nABCDE EDCBA\nABCD DCBA\nABC CBA\nAB BA\nA A\n');
return 0;
}
| Is This Answer Correct ? | 8 Yes | 14 No |
Post New Answer View All Answers
What is malloc and calloc?
What are enums in c?
What are called c variables?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
How can you find out how much memory is available?
If fflush wont work, what can I use to flush input?
What is volatile variable how do you declare it?
What are Macros? What are its advantages and disadvantages?
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
Is flag a keyword in c?
What does a function declared as pascal do differently?
What is pointer & why it is used?
What are 'near' and 'far' pointers?
What is meant by type specifiers?
What are different storage class specifiers in c?