write a fuction for accepting and replacing lowercase
letter to'Z' with out using inline function.
Answer Posted / clement
#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)
{
c='Z';
printf("replaced lower case letter into uppercase %c",c);
}
| Is This Answer Correct ? | 12 Yes | 6 No |
Post New Answer View All Answers
What is dynamic memory allocation?
What are types of functions?
Why is c fast?
How do you define a string?
What is the newline escape sequence?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
What is the use of ?
What is #define in c?
Explain threaded binary trees?
Are the variables argc and argv are local to main?
Is c is a low level language?
How can I determine whether a machines byte order is big-endian or little-endian?
What is operator promotion?
what is bit rate & baud rate? plz give wave forms
What is a #include preprocessor?