C Programming and Technical Programming Program

What will happen if in a C program you assign a value to an array element whose subscript exceeds the size of array?

Options
1) The element will be set to 0.
2) The compiler would report an error.
3) The program may crash if some important data gets overwritten.
4) The array size would appropriately grow.

Read Solution (Total 12)

C Other Question

In C, if you pass an array as an argument to a function, what actually gets passed?

Options
1) Value of elements in array
2) First element of the array
3) Base address of the array
4) Address of the last element of array
When we mention the prototype of a function?
Options
1) Defining
2) Declaring
3) Prototyping
4) Calling