TRUE
FALSE
Array
INT
FLOAT
CHAR
It will not be allowed, but no error message will be generated
Compiler will generate an error message suggesting the same
The element will be assigned NULL VALUE.
Some other data may be overwritten
strchr( )
strrchr( )
strstr( )
strnset( )
P
O
R
None of the above
Pointer
Function
What is the effect of the following code?
16 16
Syntax error because of invalid operator symbol
25 16
Syntax error because of invalid array initialization
Compiler declare array name itself as a constant pointer to base address
A continuous file is allocated to store the elements value
Index of elements is declared automatically
All elements are initialized to zero
Consider the statement given below:
printf("%d ", *(p + 3));
printf("%d", p[4]);
printf("%d ", a + 3);
printf("%d ", *a + 3);
int a[ ][4];
int b[2, 4];
int c[2][ ];
int d[ ] [ 4] = {{1, 3, 5, 7}, {2, 4, 6, 8}};
What will be the output of the following code segment if Hello there is given as input?
Hello there
Hello
"Hello there"
"Hello"
n**2
n(n-1)/2
n(n+1)/2
n+1)/2