How can I read a directory in a c program?
Answer / banavathvishnu
int main(int argc,char *argv[])
{
printf("%s \n",argv[0]);
return 1;
}
will give you the path where the executable is stored.
Is This Answer Correct ? | 8 Yes | 1 No |
Is there a way to compare two structure variables?
What's the difference between calloc() and malloc()?
What is the advantage of a random access file?
can we define a function in structure?
int j =15,i; for (i=1; 1<5; ++i) {printf ("%d%d ",j,i); j = j-3; }
What does c mean in standard form?
Explain 'bit masking'?
Is void a keyword in c?
what is the difference between definition and declaration? give me some examples.
Explain do array subscripts always start with zero?
String concatenation
what is the mean of c languages.