Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


WAP to find that given no is small or capital

Answers were Sorted based on User's Feedback



WAP to find that given no is small or capital..

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

WAP to find that given no is small or capital..

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

WAP to find that given no is small or capital..

Answer / mukesh

how a number could be small or CAPITAL

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Write a simple program to find the size of different basic data types in C.

3 Answers  


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.....

0 Answers  


Does c have an equivalent to pascals with statement?

0 Answers  


What is file in c preprocessor?

0 Answers  


write function to reverse char array ... without using second array

3 Answers  


Explain what is a 'locale'?

0 Answers  


Why c is procedure oriented?

0 Answers  


What is structure padding ?

3 Answers   HP,


write a program to add two numbers of any size.....(remember any size)

1 Answers  


Switch (i) i=1; case 1 i++; case 2 ++i; break; case 3 --i; Output of i after executing the program

5 Answers   Mascot,


being a chemical engineer and with an aggregate of 80% why you opt for TCS and not your core industry?

1 Answers   TCS,


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

0 Answers  


Categories