Awesome q2a theme
Ask us anything
Toggle navigation
Email or Username
Password
Remember
Login
Register

I forgot my password
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Year
Exams
Recent questions tagged array
0
votes
1
answer
2D Arrays from made easy test series topic test 1
The 2d array is given as A[0...39,0...39].What is the location of A[15][25] if row major order is followed along with lower triangular matrix?base address is 500 and char takes 1byte of memory.
asked
6 days
ago
in
Programming
by
Barsha Banik
(
6
points)

38
views
array
0
votes
0
answers
Self doubtArrays
Question: #include <stdio.h> #include <string.h> int main(void) { char line[100] = "hello\n"; printf( "%zu ", strlen( line ) ); return 0; } The output of the above program is: _____ ?
asked
Jun 8
in
Programming
by
Swati Dubey
(
10
points)

21
views
array
0
votes
0
answers
Made Easy FLT Basic 1
Consider a square matrix of $N * N$ in which the values are stored from $A[1,1]$ to $A[n,n]$. For all $i,j$, $A[i,j] = A[i1,j1]$, where $i>1$ and $j>1$. In order to reduce space complexity, we avoid redundant storage. All the elements of the above square matrix are ... X; What is the correct expression for $X$? $B[N+ij1]$ $B[2N+ij1]$ $B[2N+ji1]$ $B[N+ji1]$
asked
Jan 2
in
Programming
by
Sambhrant Maurya
(
403
points)

8
views
array
data_structure
0
votes
1
answer
Self doubtARRAY
$\text{Consider a lower triangular matrix}$ $a[25….200,25….200]$ $Find\ loc[190][150]=?$ $\text{Using Column major order.}$
asked
Dec 28, 2019
in
Programming
by
Kushagra गुप्ता
(
415
points)

67
views
datastructures
columnmajor
rowmajor
array
0
votes
0
answers
10. Ace Academy Booklet
An $\mathbf{n\times n}$ matrix $\mathbf{T}$ is a $\textbf{Toeplitz matrix}$ iff $\text{T(i,j) = T(i1,j1)}$ for all $\mathrm i$ and $\mathrm j$, $\mathrm{i >1}$ and $\mathrm{j>1}$. If the $\textbf{TOEPLITZ}$ matrix of order $(5,5)$ is stored in one dimensional array, then optimum number of elements stored is ____________________.
asked
Dec 22, 2019
in
Programming
by
`JEET
(
179
points)

14
views
#array
array
0
votes
1
answer
11. Ace Academy Booklet, Array
A $\textbf{square band matrix}\;\mathrm{D_{n,a}}$ is an $\mathrm{n\times n}$ matrix in which all the nonzero terms lie in a band centred around the main diagonal. The band includes the main diagonal and $\mathrm{a1}$ diagonal below and above the main diagonal. The number of elements in hte band $\mathbf{D_{1000,101}}$_______________.
asked
Dec 22, 2019
in
Programming
by
`JEET
(
179
points)

17
views
#array
array
0
votes
0
answers
12. Array Ace Academy Booklet
Store only the lower diagonal of $\textbf{Symmetric Square Band Matrix}\;\mathrm{ N\times N}$ in the style of diagonal by diagonal, starting from the lowest diagonal, including main diagonal then calculate the retriveing formula (Assume that ... to solve these questions through a proper procedure which I don't know but looking to learn from the community. Thanks.
asked
Dec 22, 2019
in
Programming
by
`JEET
(
179
points)

23
views
#array
array
matrix
+1
vote
2
answers
Self DoubtArrays
$3d\ array:$ $A[5….11,3…7,6….16]$ Using column major order and row major order find: $location\left ( A[9][5][14] \right )=?$ take BA: 1000 and int size: 10 bytes
asked
Dec 12, 2019
in
DS
by
Kushagra गुप्ता
(
415
points)

107
views
datastructures
array
columnmajor
0
votes
0
answers
programming test series question made easy
asked
Oct 11, 2019
in
Programming
by
Priyansh Singh
(
257
points)

32
views
testseries
array
#testseries
cprogrammingforgate
0
votes
0
answers
Made Easy Programming and DS test 1
asked
Oct 1, 2019
in
Programming
by
luc_Bloodstone
(
38
points)

20
views
gate
array
programming
testseries
0
votes
0
answers
Made Easy Test Series (Programming).
Consider a twodimensional array with the elements stored in the form of lower triangular matrix, The elements must be crossed to read A[4,2] from the array A[6,…..,+8,6,…..,+8] whose base address 1000 is _________ ? (Assume elements are stored in Row Major Order).
asked
Sep 24, 2019
in
Programming
by
Priyansh Singh
(
257
points)

28
views
array
0
votes
1
answer
TSPGECET2019CSE26
Consider the following declaration of a two – dimensional array in C char a[50][50]; Assuming that the main memory is byte – addressable and that the array is stored starting from memory address $0$, the address of $a[20][25]$ is: $2020$ $2525$ $2025$ $2050$
asked
Aug 13, 2019
in
Others
by
Shiva Sagar Rao
(
53
points)

24
views
tspgecetcse2019
array
0
votes
1
answer
character array and string
what is the difference between char str1[25]; //this is taking characters and char str2[25][25]; //this is taking strings being confusing that why the str1 is taking characters and str2 is taking strings
asked
Jun 23, 2019
in
Programming
by
shiva0
(
19
points)

13
views
character
array
string
programming
To see more, click for the
full list of questions
or
popular tags
.
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.
Top Users
Jul 2020
bittujash
6 Points
RavGopal
4 Points
ankeshsingh
2 Points
prakhar123
1 Points
arpit_18
1 Points
pravincesingh
1 Points
Shaik Masthan
1 Points
srestha
1 Points
sameer2009
1 Points
7,525
questions
1,776
answers
10,835
comments
90,464
users