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
What is the use of ?
What is linear search?
Explain how do you override a defined macro?
Is struct oop?
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.
What is the difference between array and pointer?
How can a program be made to print the line number where an error occurs?
Explain what is the stack?
What does the c in ctime mean?
What is malloc return c?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
What happens if header file is included twice?
what is recursion in C
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer
What is scope rule of function in c?