Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a program in reverse the string without using
pointer,array,global variable declaration,lib fun only using
a function?

Answer Posted / reshma pawar

#include<stdio.h>
void main()
{
int i;
char a[]={"Hello"};
printf("Reverse String is: ");
for(i=4;i>=0;i--)
printf("%c",a[i]);
}

Is This Answer Correct ?    14 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why array is used in c?

1009


How will you delete a node in DLL?

1285


Distinguish between actual and formal arguments.

1073


What is the advantage of using #define to declare a constant?

1093


Using which language Test cases are added in .ptu file of RTRT unit testing???

4273


What language is lisp written in?

1254


what is the syallabus of computer science students in group- 1?

2315


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜n’ element.

2105


What does d mean?

1083


What does the error 'Null Pointer Assignment' mean and what causes this error?

1213


Write a program to check armstrong number in c?

1127


Write the test cases for checking a variable having value in range -10.0 to +10.0?

2316


Explain how do I determine whether a character is numeric, alphabetic, and so on?

1130


Where we use clrscr in c?

1130


Explain the difference between malloc() and calloc() function?

1040