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

What does %p mean c?

1017


What is the sizeof () a pointer?

925


Can the size of an array be declared at runtime?

1024


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

2040


Explain logical errors? Compare with syntax errors.

1011


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

1204


What 'lex' does?

1101


What is an array? What the different types of arrays in c?

1104


What is the use of c language in real life?

972


What is 'bus error'?

1091


What are the characteristics of arrays in c?

992


What is pointer & why it is used?

1061


Write a code to determine the total number of stops an elevator would take to serve N number of people.

1188


Explain what are bus errors, memory faults, and core dumps?

1223


In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.

3068