In
int main(int argc , char *argv[])
What could be the maximum length of string in argv ?
It depends on OS. No the C language specifications. For Windows see:
http://forums.msdn.microsoft.com/en-US/vclanguage/thread/79b89629-765f-4e9a-9bfb-f99226ef8821/
Unix: http://www.in-ulm.de/~mascheck/various/argmax/
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.