write a program in reverse the string without using
pointer,array,global variable declaration,lib fun only using
a function?
Answer Posted / aravind
#include<stdio.h>
int main()
{
int i;
char a={"Hello"};
for(i=4;i>=0;i--)
printf("revese string=%c",a);
}
| Is This Answer Correct ? | 7 Yes | 32 No |
Post New Answer View All Answers
What is typedef example?
What are the advantages of using macro in c language?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.
What is string in c language?
How do you list files in a directory?
Differentiate between the = symbol and == symbol?
Explain the use of keyword 'register' with respect to variables.
Explain what math functions are available for integers? For floating point?
What are the similarities between c and c++?
What are different types of operators?
What is the use of #include in c?
Write a program to print ASCII code for a given digit.
What is sizeof int?
What are the scope of static variables?