WAP to find that given no is small or capital
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / naresh.s
main()
{
char ch;
scanf("%d",&ch);
if(ch>64&&ch<91)
printf("capital");
else
printf("small");
}
| Is This Answer Correct ? | 2 Yes | 2 No |
What is structure padding & expalain wid example what is bit wise structure?
In which mode we open the file for read,write and append also in c ? a)W b)w+ c)r+ d)a
compare array with pointer?
What is the significance of scope resolution operator?
0 Answers Agilent, ZS Associates,
print the pattern 1 2 4 3 6 9 4 8 12 16 5 10 15 20 25 if n=5
Array is an lvalue or not?
What are the basic data types associated with c?
What is const keyword in c?
What is the use of gets and puts?
Can you define which header file to include at compile time?
What is 2 d array in c?
What is a rvalue?