Question
What is the output of the following C code using #define? #include #define SQUARE(x) x*x int main() { int a = SQUARE(2+3); printf("%d",
What is the output of the following C code using #define? #include #define SQUARE(x) x*x int main() { int a = SQUARE(2+3); printf("%d",
a); return 0; }
More IT Operating System Questions
- Using Dijkstra's algorithm with a min-heap (binary heap) implementation on a graph with V vertices and E edges, what is the overall time complexity?
- In FCFS scheduling, a CPU-bound process with a very long burst time arrives just before several short I/O-bound processes. What problem does this cause?
- What is 'virtual memory' in the context of operating systems?
- What is the primary purpose of the ALOHA protocol in networking?
- A computer uses 8-bit two's-complement integers. What decimal value is represented by 11101010₂?
- In a Denial of Service (DoS) attack, what is the primary objective of the attacker?
- For the circuit shown, Find the number of nodes and number of independent equations used for analysis of circuit using nodal analysis.
- Consider: SELECT DEPT, AVG(SALARY) FROM EMP GROUP BY DEPT HAVING AVG(SALARY) > 50000; If EMP has: IT(60k,45k,70k), HR(55k,40k), Finance(80k) — which outpu...
- Which virtualization technique allows the guest OS to run without being modified and has the lowest overhead?
- Dynamic Programming is typically used for problems that exhibit which two main properties?
Hey! Ask a query
Please enter email id
The email must be a valid email address.
Please enter Mobile Number
Please enter valid Mobile Number
Please enter your Doubt
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
- 200 Questions with Detailed Solutions
- Section-wise Coverage (GA, English, Quant & Reasoning)