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

Why do we use & in c?

808


Do you know what are bitwise shift operators in c programming?

878


What is the best way of making my program efficient?

802


What is a spanning Tree?

1303


Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.

913


application attempts to perform an operation?

1757


What is binary tree in c?

884


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

3308


What is meant by 'bit masking'?

1157


Is that possible to add pointers to each other?

1164


Can static variables be declared in a header file?

855


What is the use of in c?

793


swap 2 numbers without using third variable?

916


Explain the difference between malloc() and calloc() function?

829


What standard functions are available to manipulate strings?

854