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 |
What are the application of c?
Explain the advantages and disadvantages of macros.
When should you use a type cast?
What is Your Name :)
Can you mix old-style and new-style function syntax?
What is the meaning of this decleration? unsigned char (*pArray[10][10]); please reply.
how many errors in c explain deply
What are structures and unions? State differencves between them.
What is s in c?
Hai why 'c' is the middle language
How can I make sure that my program is the only one accessing a file?
What is meant by errors and debugging?