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 whose output will be- 1 12 123 1234

10 Answers  


which operator is known as dummy operator in c?

2 Answers   Wipro,


What is printf () in c?

0 Answers  


What is a lvalue

0 Answers   Global Logic,


Write a c program to demonstrate Type casting in c?

2 Answers  


why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

0 Answers  


What are qualifiers and modifiers c?

0 Answers  


write a function which accept two numbers from main() and interchange them using pointers?

3 Answers  


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

0 Answers  


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

0 Answers  


void main() {int i=2; printf("%d%d%d",i,++i,i++); getch(); }

9 Answers  


C program to perform stack operation using singly linked list

3 Answers  


Categories