answersLogoWhite

0

int main (int argc, char *argv[])

{

int i;

for (i=0; i<argc; ++i) printf ("%2d: %s\n", i, argv[i]);

return 0;

}

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

Can you give an example of array using character variable in c program?

the example of array over charcter variables is char ["string"]


Explain the design and application of arrays and how an array simplifies program development?

I need an example of a real-world array


Array implementation of priority queue example program in c plus plus?

yes


Give a business example of how loops can be beneficial in a program?

Give a business example of how loops can be beneficial in a program?


Give an example of an email program?

palawan


You want to write a simple without using pointer or array c program which will print greatest number when you give 20 number?

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?


A simple java program for searching numbers?

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 &lt;= myArray.size &amp;&amp; !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.


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++


How do you use in array?

cod a program student degree array in c language


C program for storage representation of 2-D array?

Wright a 'C' program for storage representation of 2-D array.


What are benefits of array in java?

array example in java


What are the parts of an array?

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 == &amp;example[0]).