How can I read a directory in a C program?
Answers were Sorted based on User's Feedback
Answer / sathish
In Linux/Unix , we have the header file dirent.h.This .h
file contains the direcory manipulation functions Some of
the functions are opendir,closedir,readdir.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / hussain reddy
#include<stdio.h>
void main()
{
printf("%s",_agrv[0]);
}
| Is This Answer Correct ? | 2 Yes | 9 No |
Is r written in c?
User define function contain thier own address or not.
void main() {int i=2; printf("%d%d%d",i,++i,i++); getch(); }
Write a program with dynamically allocation of variable.
What is character constants?
write a program which counts a product of array elements lower than 10.
Write a c program to print the sizes and ranges of different data types in c?
What is meant by global static? why we have to use static variable instead of Global variable
What is #include called?
How are 16- and 32-bit numbers stored?
Can we access RAM? How? Whats the range of access? Similarly What are other hardware we can access?
Explain Doubly Linked Lists?