Select the correct option to test your answer:
More Computer Questions
When did John Napier develop logarithm?
What will be the output of the following PHP code? <?php $var=300; $int_options = array ("options" =>array ("min_range" => 0 , "max_range" => 256 )); if ( ! filter_var($var, FILTER_VALIDATE_INT, $int_options)) echo ( "Integer is not valid" ); else echo ( "Integer is valid" ); ?>
Consider the following algorithm to insert an element in a triply linked list. insertelement(data) { create a node with given data. if the linked list is empty { _____________ _____________ } if the given node is less than the head { link the nodes through address and adjust the tail } if the given node is not less than the head { if the given node is equal to the head { new node is inserted on top of the head } else { traverse the linked list to find an element greater than the node and insert in front of the node } } } Which of the following option is best suited to fill the blank?
What will be the output of the program? #include<stdio.h> void main() { int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m); }
Any odd number on being AND-ed with . . . . . . . . always gives 1. Hint: Any even number on being AND-ed with this value always gives 0.