write a fuction for accepting and replacing lowercase
letter to'Z' with out using inline function.
Answer Posted / dhakchina moorthy.p
#include<stdio.h>
main()
{
char ch;
void replet(char);
prinf("Enter the character:");
scanf("%c",&ch);
if(ch>=65&&ch<==90)
{
printf("The character %c entered is lowercase",ch);
replet(ch);
}
else
printf("The given character %c is uppercase",ch);
}
void replet(char ch)
{
ch='Z';
printf("The replaced character is %c",ch);
}
| Is This Answer Correct ? | 4 Yes | 7 No |
Post New Answer View All Answers
What is string constants?
formula to convert 2500mmh2o into m3/hr
Explain what is page thrashing?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
Write the syntax and purpose of a switch statement in C.
How can I find out the size of a file, prior to reading it in?
Write a program to check armstrong number in c?
What are the types of pointers in c?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????
Is it cc or c in a letter?
What is structure pointer in c?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM
what does static variable mean?