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
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
hi, which software companys will take,if d candidate's % is jst 55%?
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
What is meant by recursion?
Is c dynamically typed?
What kind of structure is a house?
How does #define work?
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 are global variables?
Explain what is wrong with this program statement? Void = 10;
Differentiate between calloc and malloc.
Explain how can you determine the size of an allocated portion of memory?
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
What is the use of a static variable in c?
what is the significance of static storage class specifier?