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 is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

0 Answers  


Why is it important to memset a variable, immediately after allocating memory to it ?

0 Answers  


program for following output using for loop? 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5

8 Answers   Aptech, Infosys,


What is clrscr in c?

0 Answers  


Write a progarm to find the length of string using switch case?

0 Answers   TCS,






Explain what are header files and explain what are its uses in c programming?

0 Answers  


Should a function contain a return statement if it does not return a value?

0 Answers  


Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers

0 Answers  


Does sprintf put null character?

0 Answers  


"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks

0 Answers  


write a program to find the given number is prime or not

2 Answers   Accenture, Vasutech,


what is ur strangth & weekness

0 Answers   Cognizant, LG Soft, NetEnrich,


Categories