implement OR gate without using any bitwise operator.

implement OR gate without using any bitwise operator...

Answer / senthil

c = a + b

Is This Answer Correct ?    13 Yes 9 No

Post New Answer

More C Interview Questions

what are bitwise shift operators?

4 Answers  

why arithmetic operation can’t be performed on a void pointer?

1 Answers  

How will you allocate memory to double a pointer?

1 Answers  

what is the use of macro program

1 Answers   TCS,

Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage

7 Answers   Accenture,

Write a C program to perform some of the operation which can be performed using Single linked list

1 Answers   Qualcomm,

what is the difference b/w NULL and null?

3 Answers   HSBC, IBM,

What are the uses of pre-processor directives?

2 Answers  

int i=~0; uint j=(uint)i; j++; printf(“%d”,j);

1 Answers  

how to make program without <> in library.

1 Answers   ADITI,

void main() { int a[]={1,2,3,4,5},i; for(i=0;i<5;i++) printf("%d",a++); getch(); }

3 Answers  

what is linkage error when it occurs in c program

3 Answers