Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged array
1
1 vote
1
answers
1 answer
718
718 views
3 Dimensional Array
How is the address written for 3-dimensional arrays?In some answers, I saw (row, column, frame) and in others, it was (frame, row, column) Which one to follow??Also, how ...
amitarp818
718
views
asked
Oct 25, 2023
Programming in C
programming-in-c
array
+
–
2
2 votes
1
1 answer
1.4k
1.4k views
Made Easy Test Series
You are given an array of elements where each array element represents the MAXIMUM number of jumps that can be made in the forward direction from that element. Now, consi...
aashish1406
1.4k
views
asked
Aug 9, 2023
Algorithms
made-easy-test-series
made-easy-booklet
algorithms
data-structures
array
algorithm-design
+
–
2
2 votes
1
1 answer
2.7k
2.7k views
Arrays || C Programming
# include <stdio.h void print(int arr[]){ int n = sizeof(arr)/sizeof(arr[0]); int i; for (i = 0; i < n; i++) printf("%d ", arr[i]);} int main(){ int arr[] = ...
Sparsh-NJ
2.7k
views
asked
Jul 29, 2023
Programming in C
array
programming-in-c
+
–
0
0 votes
1
1 answer
887
887 views
UGC NET CSE | June 2023 | Part 2: 1
What is the output of following code?main () struct s1 { char * z; int i; struct s1 * p; } static struct s 1 a []}={ {"Nagpur", 1, a+1} {"Raipur', 2, a+2} {"Kanpur', 3, a...
admin
887
views
asked
Jul 28, 2023
Programming and DS
ugcnetcse-june2023-paper2
programming-in-c
array
output
+
–
0
0 votes
1
1 answer
1.0k
1.0k views
UGC NET CSE | June 2023 | Part 2: 21
Consider the following statements about heap sort algorithm:The MAX-HEAPIFY procedure which runs in $\mathrm{O} \lg (n)$ time, is the key to maintaining the max heap prop...
admin
1.0k
views
asked
Jul 28, 2023
Algorithms
ugcnetcse-june2023-paper2
binary-heap
algorithms
heap-sort
sorting
array
time-complexity
+
–
1
1 vote
1
1 answer
657
657 views
UGC NET CSE | June 2023 | Part 2: 26
A three dimensional array in $\mathrm{C}++$ is declared as int $\mathrm{A}[\mathrm{a}][\mathrm{b}]$ [c]. Consider that array elements are stored in row major order and in...
admin
657
views
asked
Jul 28, 2023
Data Structures
ugcnetcse-june2023-paper2
array
memory-management
+
–
0
0 votes
0
0 answers
472
472 views
UGC NET CSE | June 2023 | Part 2: 34
What is $\mathrm{x}$ in the following program?# include < stdioh int main ( ) {typedef (*(* arrfptr[3])())[10]; arrfptr x ; return 0 ; } $x$ is a pointer$x$ is a array o...
admin
472
views
asked
Jul 28, 2023
Programming and DS
ugcnetcse-june2023-paper2
programming-in-c
array
pointers
+
–
0
0 votes
1
1 answer
421
421 views
UGC NET CSE | June 2023 | Part 2: 85
What is the output of following code?main () { static float a[]=\{13.24,1.5,4.5,5.4,3.5} float * j, * k; j= a}; k= a + 4 j=j * 2; k = k / 2; printf ("% f % f",* j,*k); } ...
admin
421
views
asked
Jul 28, 2023
Programming and DS
ugcnetcse-june2023-paper2
programming-in-c
array
output
+
–
0
0 votes
0
0 answers
408
408 views
UGC NET CSE | June 2023 | Part 2: 92
Consider the following program fragment that deals with a table $\mathrm{T}$ with $17$ rows and $1024$ columns, computing an average for each column and printing it to sc...
admin
408
views
asked
Jul 28, 2023
Probability
ugcnetcse-june2023-paper2
memory-management
page-replacement
array
probability
+
–
0
0 votes
0
0 answers
371
371 views
UGC NET CSE | June 2023 | Part 2: 93
Consider the following program fragment that deals with a table $\mathrm{T}$ with $17$ rows and $1024$ columns, computing an average for each column and printing it to sc...
admin
371
views
asked
Jul 28, 2023
Programming and DS
ugcnetcse-june2023-paper2
page-replacement
programming-in-c
array
output
memory-management
+
–
0
0 votes
0
0 answers
333
333 views
UGC NET CSE | June 2023 | Part 2: 94
Consider the following program fragment that deals with a table $\mathrm{T}$ with $17$ rows and $1024$ columns, computing an average for each column and printing it to sc...
admin
333
views
asked
Jul 28, 2023
Operating System
ugcnetcse-june2023-paper2
virtual-memory
page-replacement
array
memory-management
+
–
2
2 votes
1
1 answer
862
862 views
Arrays, Storage classes
Can an array store elements of different storage classes?
Sparsh-NJ
862
views
asked
Jul 15, 2023
Programming in C
array
storage-classes-in-c
+
–
1
1 vote
1
answers
1 answer
994
994 views
made easy workbook
Q. 4 Consider the 2 dimensional array. A $[-8 \ldots 12$, $-4 \ldots 16]$. Calculate the address of $A[1,3]$. Assume that it is stored in a row major order. Each element ...
Anmol pratap singh
994
views
asked
Jul 8, 2023
Data Structures
made-easy-booklet
array
+
–
5
5 votes
3
3 answers
1.8k
1.8k views
In QuickSort algorithm, which of the following statements is NOT true regarding the partition process?
In QuickSort algorithm, which of the following statements is NOT true regarding the partition process?a) Partition always divides the array into two non-empty subsets.b) ...
dhruba
1.8k
views
asked
Jun 5, 2023
Algorithms
algorithms
quick-sort
time-complexity
array
+
–
0
0 votes
1
1 answer
825
825 views
DRDO INTERVIEW..
We have stored an element after a few elements in an array, where the array size is unknown, then find the position of in array.
Saurabhgate2024
825
views
asked
May 14, 2023
Programming in C
programming
array
+
–
1
1 vote
1
1 answer
1.1k
1.1k views
Array P&DS | Time Complexity
What is the worst case time complexity of an efficient algorithm (in order of n) to get the last index for an actually filled element, in an array, given the condition th...
Souvik33
1.1k
views
asked
Dec 17, 2022
Data Structures
algorithms
time-complexity
array
+
–
0
0 votes
1
1 answer
902
902 views
Algorithms
What is the logic applied here.Q. 32Have any Doubt?You are given an array of elements where each array element represents the MAXIMUM number of jumps that can be made in ...
Overflow04
902
views
asked
Oct 20, 2022
Algorithms
algorithms
test-series
array
+
–
1
1 vote
2
2 answers
939
939 views
Ace test series 2023
The return value of ace(4) is int ace(int a) { int x=1; static int k=1; if(a==1) return x; for(;k<a;++k) x=x+ace(k)*ace(a-k); return x; }A.15B.4C.10D.Error
Sazia Tabassum
939
views
asked
Oct 14, 2022
Programming in C
ace-test-series
programming-in-c
array
+
–
Page:
« prev
1
2
3
4
5
6
7
8
9
...
14
next »