ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
How can I read a directory in a C program?
 Question Submitted By :: Tribhuvan Sharma
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How can I read a directory in a C program?
Answer
# 1
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 ?    2 Yes 0 No
Sathish
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
i want to know aptitude questions,technical questions  2
WHY DO WE USE A TERMINATOR IN C LANGUAGE?  2
Explain the differences between public, protected, private and internal.  1
write a program for even numbers?  8
plz answer....A program that takes 3 variables e.g a,b,c in as seperate parameters and rotates the values stored so that value goes a to b, b to c and c to a .  3
How to calculate Total working time using Login and logout? Wipro2
Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it?  3
which will be first in c compiling ,linking or compiling ,debugging. Sonata3
4.A function 'q' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as: A)int (*q(char*)) [] B)int *q(char*) [] C)int(*q)(char*) [] D)None of the Above Accenture4
write a programme that inputs a number by user and gives its multiplication table.  2
what is the use of getch() function in C program.. difference b/w getch() and getche()?? Wipro12
could u able to tell about suresoft technical session  1
write a c program to print the values in words eg:- 143 written it has (one hundred and forty three)& 104, 114 are also written words  1
macros and function are related in what aspect? a)recursion b)varying no of arguments c)hypochecking d)type declaration HCL8
swap two integer variables without using a third temporary variable?  2
write a function which accept two numbers from main() and interchange them using pointers?  3
write a function for strtok()?? Verifone1
what does the following code do? fn(int n,int p,int r) { static int a=p; switch(n){ case 4:a+=a*r; case 3:a+=a*r; case 2:a+=a*r; case 1:a+=a*r; } } a.computes simple interest for one year b.computes amount on compound interest for 1 to 4 years c.computes simple interest for four year d.computes compound interst for 1 year TCS4
what is a far pointer TCS9
what is the benefit of c30  1
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com