answersLogoWhite

0

What else can I help you with?

Continue Learning about Other Math

Sorting an array in PHP without using sort function?

plz as soon as possible give me the program for shorting an array in asscending order without using any sort function in c++


What is an unidentified index in php?

Probably it's "Undefined Index".You must have seen it in some of the PHP notices or warnings.It comes, when you are working with arrays and the Index or Key your code is using doesn't actually exist.For Example,if you define an array:$a = array( 'a'=>'pak' , 'b' => 'asif' );having two Indexes (a & b),But later on, you code like:$a['c'];Now, c index doesn't actually existed in $a array, so a PHP warning / notice will appear on run time saying:Undefined Index 'c' ....Hope this help you!


How do you use Arrays to find factors of numbers?

You might use the array to store the results, since a number may be made up of several prime factors. As soon as you find a prime factor, save the result to the array, and continue looking for additional factors. If you want all factors, not just prime factors, the principle is the same; you can store the results of your calculations to an array.


How linear arrays represented in memory?

To implement array data structure, memory bytes must be reserved and the accessing functions must be coded. In case of linear arrays, the declaration statements tell how many cells are needed to store the array. The following characteristics of the array are used to calculate the number of cells needed and to find the location or address of any element of the array.1. The upper bound (UB) of the index range.2. The lower bound (LB) of the index range. In C/C++, LB is zero.3. The location in memory of the first byte in the array, called base address of the array (Base)4. The number of memory bytes needed for each cell containing one data element in the array (size, denoted by W)By cell we mean a unit of memory bytes that will be assigned to hold a value of respective data element.During the compilation of the program, the information about characteristics of the array is stored in a table called DOPE VECTOR. When compiler comes across references to an array element, it uses this information that will calculate the element's location in memory at runtime.


In mathematics what is an array?

An array is a 2-dimensional rectangle with length and width. An array also has area and perimeter.

Related Questions

How do you save a text file as c file on mac?

From editor: File / Save As or File / Write To From shell: rename, move, mv


What is the best way to write an array to a file in PHP?

The serialize() function is used to create a storable representation of a variable in PHP.To store an array to a file, you first use the serialize() function to change an array into a string. Save the string in a file using file I/O, so fwrite() or a similar function. When reading it use unserialize() to get the original array again.


Differentiate save to save as in computer?

If the file is not saved yet, "save" is pretty much the same as "save as" but if the file is already saved somewhere in your computer: "Save" will save the changes to the already existing file, while "Save as" will give you the choice to save the changes where ever you'd like. for example: your file is saved at c:\myfile.doc if you make changes and hit "save" , the changes will be saved at c:\myfile.doc however, if you click "save as", you will be given the choice to save the file where ever you want (say c:\mynewfile.doc). the old file will remain the same, as if you never changed anything


How do you stores images in an array using java?

File file=new File("c:\\Time.jpg"); PreparedStatement ps=connection.prepareStatement("insert into Table1 (image_id, image_data)...


What are the file created after c file is save?

Having saved the source file (*.C), you can compile it into an object module (*.OBJ), then link an executable program (*.EXE)


Use of gets in c?

Gets reads the next input line into an array ; it replaces the terminating newline with '\0'. it returns the array or null if end of file or error occurs.


How can write a c program to store students record in a file?

Write a console based C++ program that reads student information from a text file, build an array of objects of type class StudentInfo,


Why is it possible to save a C file with a different extension name?

Because for the text editor (and the operating system) there is no such thing as 'C file' only 'file', and files can have any names and extensions.


How do you save turbo c programs in turboc?

Press key F2, or select command Save from menu File.


Is it possible to save a C file with a different extension name?

Yes, of course.


What action takes place when you save a file opened in an application program?

C


What is the array of string in c?

A string in C is stored in a 1 dimension array so an array of strings is simply a two dimension array.