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.



Write a C program to check a number even or odd, without using any relational, arithmetic operator..

Answer / geniuineprogrammer

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

Is This Answer Correct ?    6 Yes 1 No

Post New Answer

More C Interview Questions

Write a program to reverse a given number in c language?

0 Answers  


what are two kinds of java

2 Answers  


sir i wanted to know how we wap in c to add numbers without using arithmetic operator in which digits are entered by user?

2 Answers  


Explain zero based addressing.

0 Answers  


What is the process to create increment and decrement stamen in c?

0 Answers  


What are the types of operators in c?

0 Answers  


Why array is used in c?

0 Answers  


program to find a smallest number in an array

15 Answers   Microsoft, Sony,


write a program to insert an element at the specified position in the given array in c language

5 Answers   Appin, IBM,


Explain do array subscripts always start with zero?

0 Answers  


Disadvantages of C language.

0 Answers   Impetus,


In C programming, what command or code can be used to determine if a number of odd or even?

0 Answers  


Categories