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
Without Computer networks, Computers will be half the use. Comment.
What is getch c?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
What is the difference between strcpy() and memcpy() function in c programming?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
Are there namespaces in c?
What are the 5 types of organizational structures?
What are the benefits of organizational structure?
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
What is action and transformation in spark?
Explain main function in c?
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
Which is an example of a structural homology?
What are the back slash character constants or escape sequence charactersavailable in c?
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above