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

What are unions in c?

996


What does the error 'Null Pointer Assignment' mean and what causes this error?

1185


Can you please explain the difference between exit() and _exit() function?

1002


How many loops are there in c?

1066


what will be the output for the following main() { printf("hi" "hello"); }

10867


explain what is an endless loop?

1052


What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }

1146


What is time complexity c?

959


What is this pointer in c plus plus?

1044


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

3657


how logic is used

1926


Write program to remove duplicate in an array?

1049


What are comments and how do you insert it in a C program?

1210


What does != Mean in c?

1002


Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

1033