Home / MCQ Bank / Computer
Computer Fundamentals

What will be the output of the following C code? #include <stdio.h> int main() { int y = 0; if (1 |(y = 1)) printf("y is %d\n", y); else printf("%d\n", y); }

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • y is 1

Related Computer Questions

XML is which of the following? You need to allow one host to be permitted to attach dynamically to each switch interface. Which two commands must you configure on your catalyst switch to meet this policy? 1. Switch (config-if) # ip access-group 10 2. Switch (config-if) # switchport port-security maximum 1 3. Switch (config) # access-list 10 permit ip host 1 4. Switch (config-if) # switchport port-security violation shutdown 5. Switch (config) # mac-address-table secure When is an application said to show a web performance? Where does the vector add the item? SQL stands for ________ .