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 / balu

#include<stdio.h>
#include<string.h>
main()
{
char ch;
printf("enter any character:\t");
scanf("%c",&ch);
if(ch>=97&&ch<=122)
{
printf("u enterd small letter \n");
function(ch);
getch();
}
else
printf("you entered the capital letter");
getch();
}
function(ch)
{
char c='z';
printf("replaced lower case letter into uppercase %c",c);
}

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

define string ?

1059


What is far pointer in c?

1232


Are c and c++ the same?

1006


What are unions in c?

980


What are the different types of pointers used in c language?

997


Tell us bitwise shift operators?

1023


What is f'n in math?

1012


Why is structure padding done in c?

1074


What is dynamic variable in c?

990


How do I use strcmp?

1027


Where are c variables stored in memory?

1027


What is size of union in c?

980


Explain the red-black trees?

1055


Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

1849


What is the use of function in c?

1145