Answer Posted / 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 |
Post New Answer View All Answers
What are pointers really good for, anyway?
What are the 5 types of inheritance in c ++?
How arrays can be passed to a user defined function
How do I get an accurate error status return from system on ms-dos?
differentiate built-in functions and user – defined functions.
What is wrong in this statement?
How to set file pointer to beginning c?
Why is structure important for a child?
What is the benefit of using an enum rather than a #define constant?
Calculate 1*2*3*____*n using recursive function??
code for find determinent of amatrix
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
What is pass by value in c?
How can you avoid including a header more than once?