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
Explain what are multibyte characters?
please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics
How is a structure member accessed?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
What are identifiers c?
What are the functions to open and close the file in c language?
What header files do I need in order to define the standard library functions I use?
How many types of arrays are there in c?
Difference between goto, long jmp() and setjmp()?
Why main is used in c?
What are types of structure?
shorting algorithmS
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
What will the preprocessor do for a program?
Explain what are bus errors, memory faults, and core dumps?