hey buddy,
I got the right output. I donno y u didnt get the rt o/p. this is my program.
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
clrscr();
Type: Posts; User: ruler_of_doll; Keyword(s):
hey buddy,
I got the right output. I donno y u didnt get the rt o/p. this is my program.
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b;
clrscr();
suppose 'a' contains 16 bit number. And initialize b with 32.
a=a|b; /*this will convert 6th bit to One irrespective of its original bit*/
now for making 6th bit 0, load b with 65503 and do...