int main (int argc, char *argv[])
{
int i;
for (i=0; i<argc; ++i) printf ("%2d: %s\n", i, argv[i]);
return 0;
}
the example of array over charcter variables is char ["string"]
I need an example of a real-world array
yes
i want to write a simple without using pointer or array c program which will print greatest number when i give 20 number .........How far have you gotten so far?
Wright a 'C' program for storage representation of 2-D array.
the example of array over charcter variables is char ["string"]
I need an example of a real-world array
yes
Give a business example of how loops can be beneficial in a program?
palawan
i want to write a simple without using pointer or array c program which will print greatest number when i give 20 number .........How far have you gotten so far?
Where, exactly, do you want to search? If it is in an array, you can loop through the array; for example like this: boolean found = false; for (int i = 0; i <= myArray.size && !found; i++) { if (myArray[i] = theNumber) { found = true } } I didn't test this, and it may have syntax errors, but it should give you the general idea.
plz as soon as possible give me the program for shorting an array in asscending order without using any sort function in c++
cod a program student degree array in c language
Wright a 'C' program for storage representation of 2-D array.
array example in java
Its type, name and number of elements. char example[12]; // a char array, named 'example' with 12 elements. The name is also a reference to the array itself, referring to the first element in the array (e.g., example == &example[0]).