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

What is the size of enum in c?

1116


What does a function declared as pascal do differently?

1126


How are structure passing and returning implemented?

1035


Explain the array representation of a binary tree in C.

1230


How do you define CONSTANT in C?

1274


How can I open a file so that other programs can update it at the same time?

1183


What is the use of extern in c?

1094


Write a function that will take in a phone number and output all possible alphabetical combinations

1051


what type of questions arrive in interview over c programming?

2029


What is difference between Structure and Unions?

1252


Write a Program to accept different goods with the number, price and date of purchase and display them

6234


Why calloc is better than malloc?

1035


diff between exptected result and requirement?

2054


code for find determinent of amatrix

1963


Explain what is a static function?

1111