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 / sandhya.kakani

#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)
{
char c='z';
printf("replaced lower case letter into uppercase %c",c);
}

Is This Answer Correct ?    19 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where are c variables stored in memory?

1035


What is ambagious result in C? explain with an example.

2566


Differentiate between a for loop and a while loop? What are it uses?

1147


Why can’t we compare structures?

1237


How does #define work?

1030


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

1031


What is sizeof int?

1056


What is floating point constants?

1091


What is a ternary operator in c?

1073


How can I get back to the interactive keyboard if stdin is redirected?

1148


What is array of structure in c programming?

1254


What is an endless loop?

1242


Why C language is a procedural language?

989


What is const volatile variable in c?

1004


Explain what does a function declared as pascal do differently?

1234