write a c program whether the given number is power of 2 or
not using the bitwise operators?
Answers were Sorted based on User's Feedback
Answer / good_boy123
you go to the market and bought book "let us c" wiritten by
yashbant kanitkar and find the answer in the book
bhik mang ne adat choro varna bhikari ban jo gay
| Is This Answer Correct ? | 3 Yes | 9 No |
Answer / ritesh kunte
#include<conio.h>
#include<stdio.h>
void main()
{
int no;
clrscr();
printf("Enter any no:");
scanf("%d",&no);
if(no%2==0)
printf("No is multiple of 2");
else
printf("No is not multiple of 2");
getch();
}
| Is This Answer Correct ? | 5 Yes | 18 No |
I have attended Scientist Entry Test on 7th Sep. Hereby I am submitting paper for Electronics and Communication branch…….. Hope it helps future aspirants……..
how do you identify your self?
The total weight of a tin and the cookies it contains is 2 pounds after some of the cookies are eaten, the tin and there remaining cookies weigh 0.8 pounds. What is the weight of the empty tin in pounds ?
hi sir i am doing b.e final year computerscience i want merittracks model question paper pls send link for all merittraks question paper..
What does prefer mean?
what is the origin place of english language?
sir please send me last 5 years solved question paper of junior engineer track machine of electronics & communication engineering branch
i MATHI PREPARING FOR BANK EXAMS PLEASE SEND ME A MODEL QUESTION PAPER FOR MY PREPARATION. WITH KIND REGARDS MATHI
how was ur last weekend
hsbc online test related
SQL> desc product1; Name Null? Type ----------------------------------------- -------- ---------------------------- PROD_ID NOT NULL NUMBER(38) PROD_QTY NUMBER(38) SQL> select * from product1; PROD_ID PROD_QTY ---------- ---------- 123 300 124 200 SQL> desc pmsales; Name Null? Type ----------------------------------------- -------- ---------------------------- PROD_ID NOT NULL NUMBER(38) PMS_QTY NUMBER(38) SQL> select * from pmsales; PROD_ID PMS_QTY ---------- ---------- 123 100 124 200 SQL> create view pmas_prod 2 as select p.prod_id,p.prod_qty,pm.pms_qty 3 from product1 p,pmsales pm 4 where p.prod_id=pm.prod_id; View created. SQL> update pmas_prod 2 set prod_qty=prod_qty-pms_qty; 2 rows updated. SQL> select * from product1; PROD_ID PROD_QTY ---------- ---------- 123 200 124 0 SQL> insert into pmas_prod values(125,400,200); insert into pmas_prod values(125,400,200) * ERROR at line 1: ORA-01776: cannot modify more than one base table through a join view Q How can we insert into this table ?
what is the best example of customer service that you have come ?