if the address of a[1,1] and a[2,1] are 1000 and 1010
respectively and each occupies 2 bytes then the array has
been stored in what order?
Answer Posted / kowshik
the array has been stored in row-major order.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
All technical questions
The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.
What are the disadvantages of external storage class?
What are the modifiers available in c programming language?
Which is better between malloc and calloc?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
What is a file descriptor in c?
What is the g value paradox?
Why c is called procedure oriented language?
Does c have enums?
Explain what are the advantages and disadvantages of a heap?
Differentiate between the expression “++a” and “a++”?
Explain what are the different file extensions involved when programming in c?
What is far pointer in c?
can any one provide me the notes of data structure for ignou cs-62 paper