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
Find MAXIMUM of three distinct integers using a single C statement
What is pointers in c with example?
Explain what is a stream?
What are lookup tables in c?
When should a type cast not be used?
Is this program statement valid? INT = 10.50;
Is main a keyword in c?
What is self-referential structure in c programming?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
Why is void main used?
What are pointers in C? Give an example where to illustrate their significance.
How can you find out how much memory is available?
What is volatile variable in c?
How can you tell whether two strings are the same?
What is difference between arrays and pointers?