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 C program to check a number even or odd, without using
any relational, arithmetic operator and any loops.

Answer Posted / geniuineprogrammer

u can use bitwise operator
if (no & 1) {
its odd
}

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a c program to demonstrate character and string constants?

2181


ATM machine and railway reservation class/object diagram

5239


printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

1145


what is event driven software and what is procedural driven software?

2564


What is infinite loop?

1080


How can I find out how much free space is available on disk?

1049


write a c program to find the sum of five entered numbers using an array named number

2129


Which is the memory area not included in C program? give the reason

1940


What are linker error?

1086


Write a program of prime number using recursion.

1076


What is sizeof array?

1050


What is pivot in c?

1024


Where define directive used?

1087


What is the hardest programming language?

1141


What is sizeof int?

1087