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 the equivalent code of the following statement in WHILE LOOP format?
how to find binary of number?
What is far pointer in c?
What is c++ used for today?
What is the purpose of macro in C language?
List the difference between a "copy constructor" and a "assignment operator"?
What standard functions are available to manipulate strings?
What is meant by gets in c?
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
Why we use int main and void main?
in iso what are the common technological language?
Define Spanning-Tree Protocol (STP)
How can I read and write comma-delimited text?
What are the types of type specifiers?
What is the use of clrscr?