Top

Arrays

61.

Predict the output of below code:

#include‹stdio.h› 
int main() 
{ 
    struct site 
    { 
        char name[] = "GeeksforGeeks"; 
        int no_of_pages = 200; 
    }; 
    struct site *ptr; 
    printf("%d",ptr->no_of_pages); 
    printf("%s",ptr->name);  
    getchar(); 
    return 0; 
} 

 

Answer: B

No answer description available for this question.

Enter details here

62.

If arr is a two dimensional array of 10 rows and 12 columns, then arr (5) logically points to the

Answer: A

No answer description available for this question.

Enter details here

63.

Minimun number of comparison required to compute the largest and second largest element in array is

Answer: B

No answer description available for this question.

Enter details here

64.

Array is an example of _______ type memory allocation

Answer: A

Array allocate memory at compile time

Enter details here

Answer: D

No answer description available for this question.

Enter details here

Answer: B

No answer description available for this question.

Enter details here

67.

The information about an array used in a program will be sorted in

Answer: D

No answer description available for this question.

Enter details here

68.

The  const  feature can be applied to

Answer: D

No answer description available for this question.

Enter details here

Answer: B

No answer description available for this question.

Enter details here

70.

Pick the correct answers
if x is an one dimensional array, then

Answer: D

No answer description available for this question.

Enter details here

Loading…
Tags: Arrays Questions and Answers || Arrays MCQ Questions and Answers || Arrays GK Questions and Answers || Arrays GK MCQ Questions || Arrays Multiple Choice Questions and Answers || Arrays GK || GK on Arrays || C Programming Questions and Answers || C Programming MCQ Questions and Answers || C Programming GK Questions and Answers || GK on C Programming