Answer Posted / pinky
main()
{
char ch;
scanf("%c",&ch);
if(ch>64&&ch<91)
printf("capital");
else
printf("small");
}
in scanf fn. it must be '%c' otherwise the ans wl be 'small'
always (check it)
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are pointers? What are different types of pointers?
What is the difference between malloc() and calloc()?
What is the difference between mpi and openmp?
Add Two Numbers Without Using the Addition Operator
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
What is sizeof array in c?
Why do we use null pointer?
How to define structures? ·
How do you declare a variable that will hold string values?
What is a lvalue
What is uint8 in c?
What is the ANSI C Standard?
What is bubble sort technique in c?
Can you write a programmer for FACTORIAL using recursion?
Write a program to print "hello world" without using a semicolon?