Explain two-dimensional array.
Answer / Sadaf Naz
A two-dimensional array is an array of arrays, where each inner array holds a subset of elements. In C, it can be declared as 'int arr[rows][columns]'. Two-dimensional arrays are useful for storing data that can be organized in tables or matrices. Accessing the elements involves two indices: one for the row and another for the column.
| Is This Answer Correct ? | 0 Yes | 0 No |
Convert a distance from miles to kilometers .there are 5280 feets per mile,12 inches per foot .2.54 centimeters per inch and 100000centimeters per kilometer
suppose there are five integers write a program to find larger among them without using if- else
how to calculate the time complexity of a given algorithm? pls give exaples..mainly for the coplexities such as O(log n),O(n log n)...
What is pointer to pointer in c language?
How do you write a program which produces its own source code as output?
How does #define work?
how to write a bubble sort program without using temporary variable?
What is sizeof int in c?
Under what circumstances does a name clash occur?
how many errors in c explain deply
What is %s and %d in c?
Define a structure to store the record of library. The record must consist of at least following fields: Title, Author, Edition, Price, Publisher, and Category. -Define functions authorSearch ( ), TitleSearch ( ) and CategorySearch ( ) to search a book with respect to author, title and category. [There can be more than one book, written by one author, in one category]