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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above

996


Why is void main used?

1037


Is null valid for pointers to functions?

1112


How can I read data from data files with particular formats?

1006


In a switch statement, what will happen if a break statement is omitted?

1009


What is the use of a static variable in c?

1010


What is structure in c explain with example?

1094


What is console in c language?

1051


Is it possible to execute code even after the program exits the main() function?

1283


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2581


process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

2362


What is union and structure in c?

1154


What does void main () mean?

1182


What is the main difference between calloc () and malloc ()?

1099


What is the difference between malloc calloc and realloc in c?

1072