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
i have a written test for microland please give me test pattern
What are the 4 types of unions?
What is the Purpose of 'extern' keyword in a function declaration?
What is the use of bit field?
What is clrscr in c?
How do you determine a file’s attributes?
What is realloc in c?
number of times a digit is present in a number
Explain the difference between malloc() and calloc() function?
Explain main function in c?
What is advantage of pointer in c?
Write a program to print all permutations of a given string.
what are the different storage classes in c?
Why doesn't C support function overloading?
What are header files why are they important?