Question
What is the output of the following C code? int arr[5] = {10, 20, 30, 40, 50}; int *p = arr; printf("%d", *(p+2) + *(arr+3) - *(p+1));
More C Programming Questions
- What is the output of the following Java code? try { int[] arr = new int[3]; System.out.println(arr[5]); } catch (NullPointerException e) { ...
- In Python, which of the following is used to create an anonymous function?
- Which of the following statements is correct for Python lists?
- In C, declaring a global variable using the 'static' keyword, as in 'static int counter,' at file scope, ensures that:
- What will the following C code print? int a[5] = {1,3,5,7,9}; int *p = a+2; printf("%d", *p + *(p-1));
- What will the following C code print? int a[5] = {10,20,30,40,50}; int *p = a; p += 2; printf("%d %d", *p, *(p-1)+*(p+1));
- Which of the following is used to handle exceptions in Java?
- Which of the following is used to declare a list in Python?
- Consider a table Orders with columns OrderID, CustomerID, OrderDate, and TotalAmount. Which SQL query would correctly find the total number of orders and t...
- In Python, which of the following is immutable?
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)