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

Write a program to find the given number is odd or even
without using any loops(if,for,do,while)

Answer Posted / taesung kim

(num & 1) ? (odd) : (even);

Is This Answer Correct ?    8 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a c token and types of c tokens?

1029


What is a MAC Address?

1023


Compare interpreters and compilers.

1039


If fflush wont work, what can I use to flush input?

1071


What is a structure member in c?

975


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

1253


What is the 'named constructor idiom'?

1054


What is the difference between local variable and global variable in c?

1179


Why do we use stdio h and conio h?

1052


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

1227


how to construct a simulator keeping the logical boolean gates in c

2226


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

1689


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

1828


Explain what does a function declared as pascal do differently?

1242


how logic is used

1930