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

What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?

0 Answers  


print ur name without using any semicolon in c/c++....

21 Answers   Bosch, TCS, Wipro,


why division operator not work in case of float constant?

2 Answers  


What is pointer to pointer in c?

0 Answers  


What are runtime error?

0 Answers  


implement NAND gate logic in C code without using any bitwise operatior.

4 Answers   Alcatel,


What is function what are the types of function?

0 Answers  


What is the purpose of 'register' keyword?

0 Answers  


Write a c program to find, no of occurance of a given word in a file. The word is case sensitive.

2 Answers  


how can write all 1to 100 prime numbers using for loop,if and break ?

2 Answers   TCS,


Why cann't whole array can be passed to function as value.

1 Answers  


Is printf a keyword?

0 Answers  


Categories