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!
#include stdio.h>
#include conio.h>
#include ctype.h>
#include string.h>
void main()
{
int i=0,j=0,length;
char a[30];
clrscr();
for(i=0;i<30;i++)
a[i]=0;
}
i=0;
printf("ENTER THE STRING: ");
do{
a[i++]=getchar();
}while(a[i-1]!='\n');
a[i]='\0';
length=strlen(a);
for(i=0;i<=length;i++)
a[i]=tolower(a[i]);
a[0]=a[0]-32;
for(i=0;a[i]!='\0';i++)
if(a[i]==' ')
a[i+1]=a[i+1]-32;
printf("THE OUTPUT OF STRING IS %s",a);
getch();
OUTPUT :
ENTER THE STRING: KAMLESH D MENGAR
THE OUTPUT OF STRING IS Kamlesh D Mengar
What happens if you write following code? string& foo()
At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers
Return by reference: The return value of the function must be an address variable. In following program the function returns the value of x or y and their types are declare
What is memory allocation? Memory Allocation : It is the method of allocating memory storage to program in such that the program can be run.
A: Use std::ios::binary. Some operating systems differentiate among text and binary modes. In text mode, end-of-line sequences and perhaps other things are translated; in binary
inputs:2,aba,abbcgdfee
Use 16 digit credit card numbers that contain 15 digits an 1 check digit. The format of the card number consists of the 15 digits followed by the check digit. The check digit is co
Write a Program to illustrate Array? int x[100]; char text[80]; float temp[30]; static int marks[5]; We are able to use symbolic constants instead of expression. The valu
A: Use operator overloading to present a friend left-shift operator, operator #include class Fred { public: friend std::ostream& operator ... private: int i_; // onl
how do i write a c++ program that will input a number and output its factorial using the while loop
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