Print the output: #include<stdio.h> int main(){ int a[] = {0,1,2,3,4}; int b[] = {10,20,30,40,50}; printf("%d", b[a[2]]); return 0; }
Print the output:
#include<stdio.h>
int main(){
int a[] = {0,1,2,3,4};
int b[] = {10,20,30,40,50};
printf("%d", b[a[2]]);
return 0;
}From the BSCPLC Assistant Manager (CSE) December 2024 – Written (BUET) exam, question 3 of 4.
More from this paper
- Previous: (a) Why fiber optic cable is used in submarine instead of satellite? (b) Why the submarine cable is damaged under water?
- Next: (a) Given some features of a diabetic patient dataset with some labeled data, from which it can be predicted whether a patient is diabetic…
- All questions in BSCPLC Assistant Manager (CSE) December 2024 – Written (BUET)