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 |
write a program to swap Two numbers without using temp variable.
75 Answers EMC, Focus, GreyB, HCL, Hitech, HP, Huawei, Infosys, Mannar Company, Microsoft, Miles Software, Odessa Technologies, Satyam, TCS, Wipro,
write a c program to convert fahrenheit to celsius?
main() { int i=0; while(+(+i--)!=0) i-=i++; printf(i); }
Explain how to reverse singly link list.
write a program to generate 1st n fibonacci prime number
What's wrong with the call "fopen ("c:\newdir\file.dat", "r")"?
write a C program : To find out the number of identical words in two files . the file name should be taken as command line argument .
How do you use a pointer to a function?
Why preprocessor should come before source code?
What are the uses of pre-processor directives?
What does double pointer mean in c?
What is the use of #define preprocessor in c?