How can I read a directory in a C program?
Answer Posted / hussain reddy
#include<stdio.h>
void main()
{
printf("%s",_agrv[0]);
}
| Is This Answer Correct ? | 2 Yes | 9 No |
Post New Answer View All Answers
Can we compile a program without main() function?
What is the difference between exit() and _exit() function in c?
Write a program to reverse a linked list in c.
how can f be used for both float and double arguments in printf? Are not they different types?
What is union and structure in c?
Do you have any idea about the use of "auto" keyword?
What is clrscr ()?
What is the purpose of the preprocessor directive error?
How can type-insensitive macros be created?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
What are pointers? What are stacks and queues?
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
Apart from dennis ritchie who the other person who contributed in design of c language.
Is int a keyword in c?
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?