Welcome,  Guest  |  Sign In |  New User? 

List of C Interview Questions & Answers

Page 1 of 11: 1 2 3 4 5 6 7 8 9 10 Next>>

HOW TO HANDLE EXCEPTIONS IN C         [ 107 ]

There is no try,catch(available in C++,java..) facility to 
handle exception in C.but we can handle exception by 
validating data come from outside into the program.


Choose your rating:    Post Ans.    View More Ans.

What is function pointer and where we will use it         [ 50 ]

A function pointer is a type of pointer in C, C++ and other 
C-like programming languages. When dereferenced, a function 
pointer invokes a function, passing it zero or more 
arguments just like a normal function. In programming 
languages like C, function pointers can be used to simplify 
code, such as replacing large switch statements.


Choose your rating:    Post Ans.    View More Ans.

what information does the header files contain?         [ 47 ]

the header files consists of file-inclusions,macro 
definitions and declarations which get replaced with the 
textual source code at preprocessor level ie., before 
compilation process.


Choose your rating:    Post Ans.    View More Ans.

IS STRUCTURES CAN BE USED WITHIN AN ARRAY?         [ 62 ]

YES ,THEY CAN BE,BECAUSE ARRAY CAN HOLD SIMILAR DATA 
TYPED   ONES,WE ARE USING ONLY STRUCTURE VARIABLES 
THEMSELVES.IT WILL BE POSSIBLE.


Choose your rating:    Post Ans.    View More Ans.

what is the advantage of function pointer         [ 48 ]

code complexcity is less


Choose your rating:    Post Ans.    View More Ans.

what does data structure mean?         [ 58 ]

data structure is a way of storing data in a computer so
that it can be used efficiently.


Choose your rating:    Post Ans.    View More Ans.

how to print hai in c?         [ 60 ]

printf("\"hai"\");


Choose your rating:    Post Ans.    View More Ans.

what is the maximum no. of bytes calloc can allocate         [ 59 ]

n bytes


Choose your rating:    Post Ans.    View More Ans.

what is the use of using linked list and array         [ 47 ]

because they decrease the time complexity of the program we 
have to do.


Choose your rating:    Post Ans.    View More Ans.

what is the use of pointers         [ 51 ]

continuous memory allocation


Choose your rating:    Post Ans.    View More Ans.

Page 1 of 11: 1 2 3 4 5 6 7 8 9 10 Next>>