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 simple program to find the size of different basic data types in C.
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
Does c have an equivalent to pascals with statement?
What is file in c preprocessor?
write function to reverse char array ... without using second array
Explain what is a 'locale'?
Why c is procedure oriented?
What is structure padding ?
write a program to add two numbers of any size.....(remember any size)
Switch (i) i=1; case 1 i++; case 2 ++i; break; case 3 --i; Output of i after executing the program
being a chemical engineer and with an aggregate of 80% why you opt for TCS and not your core industry?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.