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 fuction for accepting and replacing lowercase
letter to'Z' with out using inline function.

Answer Posted / dhakchina moorthy.p

#include<stdio.h>
main()
{
char ch;
void replet(char);
prinf("Enter the character:");
scanf("%c",&ch);
if(ch>=65&&ch<==90)
{
printf("The character %c entered is lowercase",ch);
replet(ch);
}
else
printf("The given character %c is uppercase",ch);
}
void replet(char ch)
{
ch='Z';
printf("The replaced character is %c",ch);
}

Is This Answer Correct ?    4 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the equivalent code of the following statement in WHILE LOOP format?

1301


how to find binary of number?

4441


What is far pointer in c?

1307


What is c++ used for today?

1108


What is the purpose of macro in C language?

1113


List the difference between a "copy constructor" and a "assignment operator"?

1010


What standard functions are available to manipulate strings?

1147


What is meant by gets in c?

1179


How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?

1026


Why we use int main and void main?

1072


in iso what are the common technological language?

2111


Define Spanning-Tree Protocol (STP)

1127


How can I read and write comma-delimited text?

1070


What are the types of type specifiers?

1034


What is the use of clrscr?

1103