menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
What must be the same for each variable in an array in compiled languages?
asked
May 5, 2021
12.6k
views
3
votes
What must be the same for each variable in an array in compiled languages?
Computers and Technology
college
ImGroot
asked
by
ImGroot
8.0k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
The data type must be the same for each item in the array.
Azzlack
answered
May 11, 2021
by
Azzlack
7.6k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Dec 4, 2024
96.3k
views
In a fixed-length array, the size of the array is known before the program is compiled. a) True b) False
Amit Hasan
asked
Dec 4, 2024
by
Amit Hasan
8.5k
points
Computers and Technology
high-school
1
answer
5
votes
96.3k
views
asked
Dec 18, 2024
137k
views
The following code transposes the elements of an M × M array, where M is a constant defined by #define: void transpose(Marray_t A) { int i, j; for (i = 0; i < M; i++) for (j = 0; j < i; j++) { int t = A[i][j]; A[i][j] = A[j][i]; A[j][i] = t; } } When compiled with optimization level -O2, gcc generates the following code for the inner loop of the function: 1 .L3: 2 movl (%ebx), %eax 3 movl (%esi,%ecx,4), %edx 4 movl %eax, (%esi,%ecx,4) 5 addl $1, %ecx 6 movl %edx, (%ebx) 7 addl $52, %ebx 8 cmpl %edi, %ecx 9 jl .L3 A. What is the value of M? B. What registers hold program values i and j? C. Write a C code version of transpose that makes use of the optimizations that occur in this loop. Use the parameter M in your code rather than numeric constants.
Abhinava
asked
Dec 18, 2024
by
Abhinava
9.0k
points
Computers and Technology
high-school
1
answer
4
votes
137k
views
asked
Apr 22, 2024
59.8k
views
is the lexical analyzer generally not included in the first pass of most compilers of compiled languages
GuidoMB
asked
Apr 22, 2024
by
GuidoMB
8.5k
points
English
high-school
1
answer
1
vote
59.8k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.5m
questions
12.2m
answers
Other Questions
“What does it mean when we “rework” copyrighted material?”
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Seven basic internal components found in a computer tower
Please help me ! All you do is just put it it all in your own words ! Please this is for my reported card!i don't know how to put it in my own words because my English is not that good!
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org