Question
In C, when an array is passed as a parameter to a function, what does sizeof(arr) typically return when evaluated inside that function?
More C Programming Questions
- In Python, what does len() function do?
- In Python, which method is used to convert a string to lowercase?
- What is printed if we execute the following C code? int a=5; int *p=&a; (*p)++; printf("%d",a);
- Consider a table Orders with columns OrderID, CustomerID, OrderDate, and TotalAmount. Which SQL query would correctly find the total number of orders and t...
- 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));
- What is the output of the following C code? int x=0, y=10; if (x || y--) { } printf("%d", y);
- Consider the following C structure on a typical 32-bit system, where int is 4 bytes, char is 1 byte, and the compiler applies default structure padding for...
- What is the output of the following C code? int arr[3][4] = {{1,2,3,4},{5,6,7,8},{9,10,11,12}}; printf("%d", *(*(arr+1)+2));
- 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); } ...
- What is the output of the following C code? int x = 5; int y = x++ + ++x; printf("%d %d", x, y);
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)