 |
|
 |
| |
|
|
|
|
|
|
|
Functions |
- How to declare a pointer to a function?
- Does extern in a function declaration mean anything?
- How can I return multiple values from a function?
- Does C support function overloading?
- What is the purpose of a function prototype?
- What are inline functions?
- How to declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
- Can we declare a function that can return a pointer to a function of the same type?
- How can I write a function that takes a variable number of arguments? What are the limitations with this? What is vprintf()?
- With respect to function parameter passing, what is the difference between call-by-value and call-by-reference? Which method does C use?
- If I have the name of a function in the form of a string, how can I invoke that function?
- What does the error, invalid redeclaration of a function mean?
- How can I pass the variable argument list passed to one function to another function.
- How do I pass a variable number of function pointers to a variable argument (va_arg) function?
- Will C allow passing more or less arguments than required to a function.
- Whats the difference between gets() and fgets()? Whats the correct way to use fgets() when reading a file?
- How can I have a variable field width with printf?
- How can I specify a variable width in a scanf() format string?
- How can I convert numbers to strings (the opposite of atoi)?
- Why should one use strncpy() and not strcpy()? What are the problems with strncpy()?
- How does the function strtok() work?
- Why do we get the floating point formats not linked error?
- Why do some people put void cast before each call to printf()?
- What is assert() and when would I use it?
- What do memcpy(), memchr(), memcmp(), memset(), strdup(), strncat(),strcmp(), strncmp(), strcpy(), strncpy(), strlen(), strchr(), strchr(),strpbrk(), strspn(), strcspn(), strtok() do?
- What does alloca() do?
- Can you compare two strings like string1==string2? Why do we need strcmp()?
- What does printf() return?
- What do setjmp() and longjump() functions do?
- Whats the prototype of main()? Can main() return a structure?
- Is exit(status) equivalent to returning the same status from main()?
- Can main() be called recursively?
- How to print the arguments recieved by main()?
|
|
File Operations |
- How do stat(), fstat(), vstat() work? How to check whether a file exists?
- How can I insert or delete a line (or record) in the middle of a file?
- How can I recover the file name using its file descriptor?
- How can I delete a file? How do I copy files? How can I read a directory in a C program?
- Whats the use of fopen(), fclose(), fprintf(), getc(), putc(), getw(), putw(), fscanf(), feof(), ftell(), fseek(), rewind(), fread(), fwrite(), fgets(), fputs(), freopen(), fflush(), ungetc()?
- How to check if a file is a binary file or an ascii file?
|
|
|
|
CrackTheIntervew.NET
|
|
|
 |
|
 |
|