Start learning 50% faster. Sign in now
The code demonstrates pointer manipulation in C. Here’s a breakdown: • int x = 10, y = 20; declares two integers, x and y. • *p1 = &x, *p2 = &y; initializes p1 to point to x and p2 to point to y. • *p2 = *p1 + *p2; fetches the values of x and y through p1 and p2 respectively, adds them, and assigns the result back to y via *p2. After this operation, y becomes 30, while x remains 10. Output: 10 30. Why Other Options Are Incorrect: 1. 10 20: This would occur if no pointer manipulation happened, but the code modifies y. 2. 30 10: Only y is updated, not x. 3. Compiler error: The code is syntactically correct and compiles successfully. 4. Undefined behavior: The pointers are used properly with valid memory addresses, avoiding undefined behavior.
Champion Ltd. define following data for calculating Current Ratio:
Current Assets Rs.20,00,000 ,
Inventories Rs.10,00,000 ,
Working Capital Rs.12, 00,000.
Refer the following summarized Balance Sheet of Roy Ltd. as on 31‐3‐2023:
Which conditions must be met for a third party’s customer due diligence to be accepted by an RE?
Ratio of net profit before interest and tax to sales is:
Refer the following summarized Balance Sheet of Roy Ltd. as on 31‐3‐2023:
If MOS = 50000 units and BE units are 35000, then what are the Budgeted Sales units?
Refer the following summarized Balance Sheet of Roy Ltd. as on 31‐3‐2023:
What does the Basic Defense Interval ratio measure?
What is MIBOR?
Which of the following formulae correctly calculates the Operating Profit Margin?