adspace
write a program in c++ for finding the given no. is odd or
even without using any airthmatic operater?
Answer Posted / Manraj Singh Gaur
In C++, you can use bitwise operators to determine if a number is odd or even without using arithmetic operators. Here's an example:```n
int number; // replace with your numbern
if (number & 1) cout << "The number is odd.";nelse cout << "The number is even.";"n
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
i need modal Q. paper of junior enjineer for 1/2009 rrb ajmer exam cat no. 11 jell electrical thenkyou
Pls tell me when will coming ssc scientist assistant result...how many marks for elgilibity.. Am a minority girl oc
Sir, Plz send the last 5 yrs ques papers for Railway board's section engineer post. Thanks, c_k_chand@yahoo.co.in
Please give the model or previous year question paper for the lecture post in government Engineering College (Electronics and Communication)
i want the aptitude test papers of wipro can any one help plz
hi... if anybody wrote Airport Authority of India(ATC) examination.... pls kindly post the Questions wat they asked... specially in English & Reasonings.... it will useful to all others who are going to write AAI (Electronics) exam....
will you provide me NTPC exam?
can u send me ttq upto 2008 on my email id pooja_bora18@yahoo.com.sorry for the trouble.
can anyone provide apgenco previous question papers and materials to this id balarajyarajala@gmail.com
last Airforce test paper
can anybody mail the exact sylabuss for ECIL
Explain the approximate cost of the smart pebbles eci-1(embedded corrosion instrument)?
i want to know the syllabus for management trainee exam,vizag steel plant,2009
send me cutoff of surat nit for m.tech
sir/madam, i've applied for the post of section engineer. i shall highly be obliged if you could help me out with some sample papers.