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 is the newline escape sequence?
What is the role of && operator in a program code?
Why is c fast?
What does 3 periods mean in texting?
What does printf does?
What does != Mean in c?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
What does int main () mean?
Explain what is the difference between a string and an array?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
List the difference between a 'copy constructor' and a 'assignment operator' in C?