If errno contains a nonzero number, is there an error?



If errno contains a nonzero number, is there an error?..

Answer / Ajay Kumar Yadav

Yes, when errno contains a nonzero value in C, it indicates that an error has occurred during the execution of certain library functions.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

write a program in 'c' to find the value of p[i+1]^n.p,i,n are arguments of a macro and n is a integer

1 Answers  


can any one tell that i have a variable which is declared as static but i want this variable to be visible to the other files? how?

2 Answers  


write a program to fined second smallest and largest element in a given series of elements (without sorting)

9 Answers   Yahoo,


What is the advantage of an array over individual variables?

1 Answers  


What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file

1 Answers  


How many identifiers are there in c?

1 Answers  


9.how do you write a function that takes a variable number of arguments? What is the prototype of printf () function? 10.How do you access command-line arguments? 11.what does ‘#include<stdio.h>’ mean? 12.what is the difference between #include<> and #include”…”? 13.what are # pragma staments? 14.what is the most appropriate way to write a multi-statement macro?

4 Answers   L&T,


What do you mean by Recursion Function?

1 Answers   Hexaware,


program to find a smallest number in an array

15 Answers   Microsoft, Sony,


write a method for an array in which it can display the largest n next largest value.

1 Answers   Value Labs,


Why do we need arrays in c?

1 Answers  


Can you think of a logic behind the game minesweeper.

1 Answers  


Categories