সি ভাষায় ক্যারেক্টার অ্যারে বিপরীতভাবে প্রিন্ট করবো কিভাবে?

asked 20 Jan, 23:10

md_nayeem's gravatar image

md_nayeem
655

edited 21 Jan, 15:50

Mosharraf%20Hosain's gravatar image

Mosharraf Hosain ♦
24618


 char str[] = "hello world"
 int len = strlen(str);
 int i;

 for(i = len - 1; i >= 0; i--) {
     printf("%c", str[i]);
 }
permanent link

answered 21 Jan, 08:29

menon's gravatar image

menon
4.3k324

edited 21 Jan, 16:07

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×380
×203

question asked: 20 Jan, 23:10

question was seen: 144 times

last updated: 21 Jan, 16:07