Explain command-line arguments in C.

Answer Posted / nashiinformaticssolutions

Command-line arguments are passed to the main() function as argc (argument count) and argv (argument vector).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is typedef example?

863


I have seen function declarations that look like this

821


What are keywords in c with examples?

847


Is c object oriented?

741


Is malloc memset faster than calloc?

821


What are the advantages and disadvantages of pointers?

834


What is the difference between memcpy and memmove?

794


Is there any demerits of using pointer?

829


What is a static function in c?

871


Difference between Shallow copy and Deep copy?

1805


List the difference between a While & Do While loops?

874


Is c is a middle level language?

826


What is the use of in c?

771


Explain the bubble sort algorithm.

871


What are integer variable, floating-point variable and character variable?

890