well,command line args in case of java are stringsi.e they are of type strings,this is not the case in c,it is not of type string.
Paramesh.A
Nov 11th, 2005
THERE IS ONE MAJOR DIFFERENCE IN COMMANDLINE ARGUMENTS OF JAVA AND C.LET US ASSUME THERE IS AN EXECUTBLE FILE NAMED"COPY.EXE", WHICH SOURCE CODE IS IN C AND TAKES 2 COMMANDLINE ARGUMENTS THEN WE WILL RUN IT AS SHOWN BELOW C:>COPY SOURCE,DEST ->HERE "COPY" IS TAKEN AS FIRST ARGMENT,SOURCE , DEST AS SECOND AND THIRD ARGUMENTS RESPECTIVELY ,IN JAVA IT WILL BE TAKEN FROM "SOURCE", IF "COPY" IS CLASS FILE
What's the difference b/w Java command line arg.s & C command line arg.s?