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

Explain what are run-time errors?

1099


What is the benefit of using const for declaring constants?

1050


What are the 4 data types?

1026


What would be an example of a structure analogous to structure c?

1002


What are the 4 types of organizational structures?

1110


Explain the difference between call by value and call by reference in c language?

1115


What is structure padding and packing in c?

1076


How would you use the functions fseek(), freed(), fwrite() and ftell()?

1167


Which is better between malloc and calloc?

1208


What is the size of array float a(10)?

1147


What are extern variables in c?

996


Why doesnt this code work?

1072


Differentiate between calloc and malloc.

1279


What is the purpose of main( ) in c language?

1142


How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

1219