This Quiz contains totally 10 Questions each carry 1 point for you.
1. C allows arrays of greater than two dimensions, who will determine this
programmer
compiler
parameter
None of these
Correct!
Wrong!
2. A pointer to a pointer is a form of
multiple indirections
a chain of pointers
Both 1 & 2
None of these
Correct!
Wrong!
3. Pointers belongs to which data type?
integer
character
unsigned integer data types
None of these
Correct!
Wrong!
4. Maximum number of elements in the array declaration int a[5][8] is
28
32
36
40
Correct!
Wrong!
5. If the size of the array is less than the number of initializers then
Generates an error message
Extra values are being ignored
Size of Array is increased
Size is neglected when values are given
Correct!
Wrong!
6. Array subscripts in C always start at
-1
0
1
Value provided by the user
Correct!
Wrong!
7. A Structure
can be read as a single entity
cannot be read as a single entity
can be displayed as a single entity
has member variables that cannot be read individually
Correct!
Wrong!
8. Which of the following is the correct way to declare a pointer?
int_ptr;
int*ptr;
* int ptr;
None of these
Correct!
Wrong!
9. If you want to exchange two rows in a two-dimensional array, the fastest way is to
Exchange the elements of the 2rows
Exchange the address of each element in the two-row
Silence the address of the rows in an array of the pointer and exchange the pointer
None of these
Correct!
Wrong!
10. A typecast is used to
Define a new data type
Force a value to be a particular variable type
Rename an old type
None of these
Correct!
Wrong!
Share the quiz to show your results !
Subscribe to see your results
Ignore & go to results
C-Programming-Quiz-8You got %%score%% of %%total%% right
%%description%%%%description%%
Loading...
