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 local variables c?
Should a function contain a return statement if it does not return a value?
Can a pointer be static?
What are Macros? What are its advantages and disadvantages?
What are qualifiers and modifiers c?
How arrays can be passed to a user defined function
Write a program in c to replace any vowel in a string with z?
Which is an example of a structural homology?
What are the different types of linkage exist in c?
What is #include stdlib h?
Explain the use of 'auto' keyword
Describe dynamic data structure in c programming language?
Can you please explain the difference between syntax vs logical error?
Explain the difference between strcpy() and memcpy() function?
write a program to print largest number of each row of a 2D array