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?

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


Please Help Members By Posting Answers For Below Questions

Can we compile a program without main() function?

1088


What is the difference between exit() and _exit() function in c?

1038


Write a program to reverse a linked list in c.

1087


how can f be used for both float and double arguments in printf? Are not they different types?

1035


What is union and structure in c?

1177


Do you have any idea about the use of "auto" keyword?

1059


What is clrscr ()?

1072


What is the purpose of the preprocessor directive error?

1219


How can type-insensitive macros be created?

1145


#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); }

1083


What are pointers? What are stacks and queues?

1091


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

1239


Apart from dennis ritchie who the other person who contributed in design of c language.

1345


Is int a keyword in c?

926


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

1188