write a program for even numbers?

Answer Posted / kannan

what function will do


if (!(num & 1))

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why we not create function inside function.

1748


How can you determine the size of an allocated portion of memory?

745


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

636


What is void c?

566


What is getch?

633






What is I ++ in c programming?

626


Explain what is a 'locale'?

585


What are the types of bitwise operator?

665


What is a pragma?

670


How do you generate random numbers in C?

658


What is wrong in this statement? scanf(ā€œ%dā€,whatnumber);

728


Can you write the function prototype, definition and mention the other requirements.

662


How can I pad a string to a known length?

612


What should malloc() do?

645


What is the scope of global variable in c?

556