I got the following question in an interview: \"Write a C function that round up a number to next power of 2.\"
I wrote the following answer:
#includ
Yet another variant.
int rndup (int num) { int tmp=1; while (tmp