Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
C Program for REVERSE THE STRING
#include stdio.h>
#include conio.h>
#include string.h>
void main()
{
char name[30];
char *s;
int i,len;
clrscr();
printf("ENTER THE STRING: ");
gets(name);
len=strlen(name);
s=&name[len-1];
for(i=len-1;i>=0;i--)
putchar(*s);
s--;
}
getch();
OUTPUT :
ENTER THE STRING : KAMLESH
HSELMAK
Floating literal They can be written in common decimal as well as scientific notation (floating point representation). By default it is of type double. F, L is applied only to
Problem : Change to palindrome A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your ta
Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec
Question 1: (a) Describe the following objects and condition states: (i) ifstream and ofstream objects (ii) eof(), fail(), bad() and good() functions. (b) Write a C++ pr
I want to take 1.1 as input but when I am declaring it as float the output is given as 1.1000000
Stack operations - C++: Write a program to define basic stack operations in c++. int Stack::push(int elem) { int m = getmax(); if (top { put_
Ask question #Minimum 100 words acceptedEducational Objectives: After completing this assignment, the student should be able to accomplish the following: Apply generic algorithms i
Write a C program to input five numbers and print them out on a new line e.g 5, 10, 15, 20, 25 displayed as 5 10 15 20 25 #include stdio.h void main() {
A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome
What if I wish a local to "die" before the close} of the scope wherein it was created? Can I call a destructor on a local if I want to?
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd