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
What is the size of enum in c?
What does a function declared as pascal do differently?
How are structure passing and returning implemented?
Explain the array representation of a binary tree in C.
How do you define CONSTANT in C?
How can I open a file so that other programs can update it at the same time?
What is the use of extern in c?
Write a function that will take in a phone number and output all possible alphabetical combinations
what type of questions arrive in interview over c programming?
What is difference between Structure and Unions?
Write a Program to accept different goods with the number, price and date of purchase and display them
Why calloc is better than malloc?
diff between exptected result and requirement?
code for find determinent of amatrix
Explain what is a static function?