I need help to find at least 4 errors in the following program;
Code:#include <stdio.h>
int main( int argc, int argv[])
{
int i;
int a;
for ( i = 0; i<argc, i++ )
printf( "%x \n", argv[i]);
scanf("%d", a);
}
Errors highlighted in red - I have found;
Can you spot anymore?Code:#include <stdio.h>
int main( int argc, int argv[]){
int i;
int a;
for ( i = 0; i<argc; i++ );
printf( "%x \n", argv[i]);
scanf("%d", &a);
return 0;
}
output of the program is zero.