To find whether a number is even or odd without using any
conditional operator??

Answer Posted / amala v

friends

u are using if condition in program.. u should not use
that.because the question is without any condition. if is
also a condition ok. so try to find without if .

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c procedural or functional?

797


Write a program to generate the Fibinocci Series

892


Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1

3954


Why structure is used in c?

833


How main function is called in c?

843


How will you find a duplicate number in a array without negating the nos ?

1875


What is the sizeof () a pointer?

753


What is ambagious result in C? explain with an example.

2325


in linking some of os executables are linking name some of them

1912


What are global variables and explain how do you declare them?

805


What does double pointer mean in c?

798


What is header file definition?

842


Give differences between - new and malloc() , delete and free() ?

869


What are the back slash character constants or escape sequence charactersavailable in c?

953


What is #pragma statements?

865