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
When was c language developed?
Explain how do you sort filenames in a directory?
What do you mean by dynamic memory allocation in c? What functions are used?
What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
What does int main () mean?
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
Explain what is wrong with this program statement?
What are the types of arrays in c?
Which driver is a pure java driver
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
List some of the static data structures in C?
explain what is an endless loop?