Write a c program to reverse a string without using strrev function. Given an input string, we have to write a method to reverse a string. In c, you can simply reverse a string using an inbuilt strrev() function. But we don’t have to use this method.
Think how do you solve this problem. In this tutorial, we write a c code to reverse a string using stack, pointers, recursion, loop.
With every release of PHP new version, new functionality,improvement and bug fixes are released. PHP 5.4 introduces the concept of Generators and traits etc. Apart from new functionality, PHP 5.4 introduces many improvements one such improvement is shorter syntax of array declaration.
Summary of topics which we cover in this tutorial.
- What is an Array?