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
Where are c variables stored in memory?
What is ambagious result in C? explain with an example.
Differentiate between a for loop and a while loop? What are it uses?
Why can’t we compare structures?
How does #define work?
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
What is sizeof int?
What is floating point constants?
What is a ternary operator in c?
How can I get back to the interactive keyboard if stdin is redirected?
What is array of structure in c programming?
What is an endless loop?
Why C language is a procedural language?
What is const volatile variable in c?
Explain what does a function declared as pascal do differently?