3,155 views
2 2 votes

What is the Output of following Array ? 

A. 8 10

B. 10 8

C. 10 2

D. 8 1

E. Garbage value

Please log in or register to answer this question.

Position:
Show:

Related questions

4 4 votes
2 answers 2 answers
2.8k
2.8k views
Mayankprakash asked Jun 19, 2018
2,798 views
int main(){ char arr[5][7][6]; char (*p)[5][7][6] = &arr; /* Hint: &arr - is of type const pointer to an array of 5 two dimensional arrays of size [7][6] ...
0 0 votes
1 1 answer
664
664 views
jaikant asked Apr 14, 2023
664 views
I have confusion regarding pointers, why 1D array and 2D array works differently. For e.g. I have written a code#include <stdio.h>int main(){ int arr[6]={1,2,3,4,5,6};...
1 1 vote
1 answers 1 answer
2.8k
2.8k views
radha gogia asked Jul 10, 2018
2,840 views
If I have an array :int a [3][4] ; How to evaluate below Outputs ? 1. sizeof(*a) 2.sizeof( a) 3. sizeof(a) Please explain precisely .
5 5 votes
2 2 answers
343
343 views
GO Classes asked Jun 29
343 views
What is the output of the following code?#include <stdio.h struct Student { int roll; int marks; }; int main() { struct Student s[3] = { {1, 70}, {2, 80}, {3, 90} }; s .m...