skip to main |
skip to sidebar
Functions interview questions (Part2)
- Can we extend scope of a static
variable? How?
- What is the result of recursive
main function? If we are using auto variable.
- How many return statements are
possible to place in a function?
- Can we place a return statement?
If function return type is void.
- Can we return the value? If
function return type is void.
- Can we collect return vale from
void function?
- By using function return type how
many values can return?
- How to collect multiple values
from a function?
- What is function pointer?
- Library functions implementations
are available in which files?
- What is the role of header files
in c-language
- Can Header files are provide
implementation of predefined library functions?
- What is the difference in between #include <filename.h> and #include "filename.h"
- Can header files are compiled or
not?
- Can header file code pass for
compilation?
- What is the difference b/w int
main() and void main()?
- What are the return values are valid from
main() ?
- Can we write a c program without
using main ()?
- Can we run a c-program without
using main()?
- What kind of applications doesn't require main()?
- What is the use of calling
conversion?
- Any difference is there in following
statements
- return 10+20;
- return (10+20);
- What is the default return type
and parameter type of a function?
- What is the difference in
following sentence