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 does a function declared as pascal do differently?
Why do we use null pointer?
What is a char in c?
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
What is the function of volatile in c language?
What is class and object in c?
can we have joblib in a proc ?
What happens if you free a pointer twice?
What are dangling pointers in c?
Explain what are bus errors, memory faults, and core dumps?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
Why c is called a middle level language?
Is that possible to store 32768 in an int data type variable?
What are the different properties of variable number of arguments?
Why is python slower than c?