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

#include<stdio.h>
#include<string.h>
main()
{
char ch;
clrscr();
printf("enter any character");
scanf("%c",&ch);
if(ch>=97&&ch<=122)
{
printf("u enterd small letter \n");
function(ch);
}
}
function(char c)
{
c='Z';

printf("replaced lower case letter into uppercase %c",c);
}

Is This Answer Correct ?    12 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dynamic memory allocation?

1283


What are types of functions?

975


Why is c fast?

1009


How do you define a string?

1048


What is the newline escape sequence?

1020


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

1117


What is the use of ?

994


What is #define in c?

991


Explain threaded binary trees?

1105


Are the variables argc and argv are local to main?

1252


Is c is a low level language?

1068


How can I determine whether a machines byte order is big-endian or little-endian?

1003


What is operator promotion?

1012


what is bit rate & baud rate? plz give wave forms

1914


What is a #include preprocessor?

1076