Question
Consider the following C code: int a[]={10,20,30,40}; int *p=a; What is the value of *(p+2)?
More C Programming Questions
- Which of the following algorithms is commonly used in Machine Learning for clustering tasks?
- In C, declaring a variable inside a function using the 'static' keyword, as in 'static int count;', ensures that:
- What is the output of the following C code? int f(int n) { if (n <= 1) return 1; return n * f(n - 2); } int main() { ...
- Which Java keyword is used to inherit a class?
- In mobile computing, which type of network allows devices to connect directly to each other without using a central router or switch?
- Which network device operates at the Data Link Layer of the OSI model and helps to filter and forward data between LAN segments?
- 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));
- Which type of malware disguises itself as legitimate software but has malicious intent once installed?
- What will the following C code print? int arr[3][3] = {{1,2,3},{4,5,6},{7,8,9}}; printf("%d", arr[1][2] + arr[2][0]);
- What is the output of the following C code? int arr[3][3] = {{1,2,3},{4,5,6},{7,8,9}}; printf("%d", *(*(arr+2)+1));
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)