Question 1
Subscripted variable
Collective array
Ordinary variable
Similar Quantities variable
Good Job!
Oops!
Currently there is no PrepInsta Explanation. Did you know?
You can also submit your own version of explanations under user explanation section and also view other submitted explanations by other users.
Please login to submit your explanation
You can check your performance of this question after Login/Signup
Start
Question 2
Zero
Garbage value
One
Combination of zero and one.
when we are not assigned any value to the element, so it supposed the element value as a garbage value.
Question 3
Data type
Dimension
name
Data type and Dimension
Question 4
The program will give error
No output
program will crash
none of these
Question 5
2, 3, 20
3, 2, 32
1, 2, 5
2, 3, 15
Here, ++b[1] means that firstly b[1] will be incremented so, b[1]=2 then assigned to k i.e. k=2. b[1]++ means firstly b[1] will be assigned to variable l i.e. l=2, Then value stored in b[1] will be incremented i.e. b[1]=3. b[k++] means first b[k] will be assigned to m i.e. m=32, then value of k will be incremented i.e. k=3.
Question 6
65482, 65498
65476, 65476
65476, 65498
Question 7
garbage value,1,2,3,4
1,2,3,4,5
Error
Program crash
Question 8
16 bytes, 4 bytes
4 bytes, 4 bytes
8 bytes, 4 bytes
None of these
Question 9
int fun(arr)
int fun(int arr[2])
int fun(int s[])
int fun(int arr[]) and int fun(int arr[0]) are equivalent. Both are prototype for function fun(), that accepts one integer array as parameter and return an integer value.
Question 10
second
first
both
In 2D array, it is necessary to mention the second dimension, whereas the first dimension is optional. int arr[][3]={12,34,33,45,56,73};
Please login to report
Login/Signup
Personalized Analytics only Availble for Logged in users
Analytics below shows your performance in various Mocks on PrepInsta
Your average Analytics for this Quiz
Rank
-
Percentile
0%
Completed
0/0
Accuracy
June 5, 2020
Login/Signup to comment
Login/Signup to comment