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
Write a program which returns the first non repetitive character in the string?
What are reserved words with a programming language?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
What is use of pointer?
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix
What is I ++ in c programming?
Differentiate between ordinary variable and pointer in c.
Why do we use null pointer?
Explain how can I manipulate strings of multibyte characters?
Do you know what are the properties of union in c?
Does c have enums?
How is pointer initialized in c?
What is static identifier?
What is exit() function?
a value that does not change during program execution a) variabe b) argument c) parameter d) none