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
- In C++, a base class pointer holds the address of a derived class object. The base class declares a non-virtual member function that the derived class rede...
- Which network device operates at the Data Link Layer of the OSI model and helps to filter and forward data between LAN segments?
- Which of the following algorithms is commonly used in Machine Learning for clustering tasks?
- Which of the following is correct about C++ constructors?
- What is printed if we execute the following C code? int a=5; int *p=&a; (*p)++; printf("%d",a);
- Which of the following is a valid C++ constructor?
- What is the output of the following C code? void func(int n) { if (n == 0) return; printf("%d ", n); func(n-1); printf("%d ", n); } ...
- Which of the following services is NOT commonly provided by AI/ML platforms?
- What is a key difference between the malloc() and calloc() functions in C?
- In C, which function is used to release dynamically allocated memory?
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)