Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can I read a directory in a C program?

Answers were Sorted based on User's Feedback



How can I read a directory in a C program?..

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

How can I read a directory in a C program?..

Answer / hussain reddy

#include<stdio.h>
void main()
{
printf("%s",_agrv[0]);
}

Is This Answer Correct ?    2 Yes 9 No

Post New Answer

More C Interview Questions

Is r written in c?

0 Answers  


User define function contain thier own address or not.

2 Answers  


void main() {int i=2; printf("%d%d%d",i,++i,i++); getch(); }

9 Answers  


Write a program with dynamically allocation of variable.

0 Answers   Atos Origin,


What is character constants?

0 Answers  


write a program which counts a product of array elements lower than 10.

1 Answers  


Write a c program to print the sizes and ranges of different data types in c?

1 Answers  


What is meant by global static? why we have to use static variable instead of Global variable

4 Answers   L&T,


What is #include called?

0 Answers  


How are 16- and 32-bit numbers stored?

0 Answers  


Can we access RAM? How? Whats the range of access? Similarly What are other hardware we can access?

1 Answers  


Explain Doubly Linked Lists?

3 Answers  


Categories