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 |
program to find a smallest number in an array
What is c preprocessor mean?
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
How are 16- and 32-bit numbers stored?
write a program that will accept two integers and will implement division without using the division operator if the second value is an odd number and will implement multiplication without using multiplication operator if the second value is an even number.
what are bps & baud rates? differentiate these two?
what would be the output of the following prog? Justify your answer? main() { unsigned char ch; unsigned char i; ch = -255; printf("%d",ch); i = -1; printf("%d",i); }
List some applications of c programming language?
write a c program to add two integer numbers without using arithmetic operator +
What is the significance of c program algorithms?
User define function contain thier own address or not.
. Write a program to get a string and to convert the 1st letter of it to uppercase