Pointers datastructures interview questions

Pointers datastructures interview questions

What is a void pointer?
What is the difference between #define and constant in C?
What are the advantages of the functions?
What is a static function?
How do you override a defined macro?
What is use of macro arguments in c?
Is it better to use malloc() or calloc()?
Is it better to use malloc() or calloc()?
What is the difference between goto and longjmp() and setjmp()?
What is a static function?
When should a type cast not be used?
What is pointer?
How can you check to see whether a symbol is defined?
Write a program which accepts a filename
Difference between arrays and pointers?
What is a null pointer?
What is the difference between text and binary modes?
What is the difference between #include
Between a long pointer and a char pointer
When is a switch statement better than
What is a pointer variable?
How can I sort a linked list?
What is a function and built-in function?
How can you determine the size of an
What is the difference between a string and an array?
Why n++ executes faster than n+1?
How can type-insensitive macros be created?
What is a NULL Macro? What is the difference
What is the draw back in using friend function in c++
c is a structural or highlevel or middle level
If we develop a project in C, then how can
What are advantages and disadvantages
What is storage class and what are storage variable ?
How reliable are floating-point comparisons?
Where are the auto variables stored?
What is an argument ? differentiate between
How can you determine the maximum value
What is a pointer value and address?
How can i find size of a variable without
How can we open a image file through C program
How can I open a file so that other programs
What will the preprocessor do for a program?
How to improve my c knowledge.......
what is a modulus operator? What are
How do you print only part of a string?
Are pointers integers?
What is modular programming?
What is the difference between declaring
What is major difference between normal
What are the advantages of auto variables?
How to find a given number is Armstrong
What is a method?
What is indirection?
main() { int i = 0xff ; printf("n%d", i
How to write a program such that it will
When should a far pointer be used?
What is the stack?
What is the difference between declaring a
What is the benefit of using const for
What is a const pointer?
How do you redirect a standard stream?
Can you define which header file to
What is a pragma?
When would you use a pointer to a function?
What is the purpose of main( ) function?
Which expression always return true?
What does it mean- a[i]=i+i
Differentiate between an internal static
What is the easiest searching method to use?
How do we get Square root of any number
Can include files be nested?
What is hashing?
What is the benefit of using an enum
What is far pointer?
What is the heap?
Is using exit() the same as using return?
When should the register modifier be used?
How can send unlimited no of arguments to a
What is the quickest sorting method to use?
How to find entered number is EVEN or
Write the equivalent expression for x%8?
What is the difference between #include
How do you print an address?
Can you add pointers together? Why would you?
How can I convert a number to a string?
How many levels of pointers can you have?
Can static variables be declared in a header file?
What is a “null pointer assignment” error?
What is static memory allocation and
Is NULL always defined as 0?
What are returned by printf(), scanf() functions,
What is #line used for?
How can I convert a number to a string?
How do you determine whether to use a stream
How can you restore a redirected standard stream?
What is a null pointer?
How to write a C program to find the power
What are the standard predefined macros?
main() { signed int bit=512, mBit; { mBit = ~
When does the compiler not implicitly generate
when should the volatile modifier be used?
We should not read after a write to a file without
How to swap the content oftwo variables
When should a type cast be used?
How can you avoid including a header more than once?
Why should we assign NULL to the elements
What is the difference between a string copy
C program for delete a node from linked list
C program for delete a node from linked list
What is the purpose of main( ) function?
Can math operations be performed on a void pointer?
How will you print % character?
Can the size of operator be used to tell the size
How are pointer variables initialized?
What is page thrashing?
How can you calculate number of nodes in a circular Linked List?
Can a file other than a .h file be included with #include?
How can I search for data in a linked list?
What is the easiest sorting method to use?
When function say abc() calls another function
Is it better to use a macro or a function?
Can we use string in switch statement?
What is a const pointer?
How to break cycle in circular single link list?
What is the benefit of using const for declaring constants?
Can a variable be both const and volatile?
How do you write a C program which can
Is it possible to execute code even after the program
A switch statement cannot include a) constants as arguments
Write a code for implementation of doubly linked
What do you mean by normalization of pointers
What are the characteristics of arrays in C?
What is the difference between #include and #include" "
How can I make sure that my program is the
How to convert Stack in to Queue and varsa ?
What is the quickest searching method to use?
What is Preprocessor?
How do you write a program which produces
How do display the list in single linked
How to remove duplicate elements from an array
If compiler for c is written in c language, which
How to perform matrix multiplication using
How to type a string without using printf function?
What is the difference between far and near?
What is the difference between text and binary modes?
What is the difference between NULL and NUL?
What is the purpose of realloc( )?
When is a switch statement better than multiple if statements?
Can a variable be both const and volatile?
What is the benefit of using #define to declare a constant?
What are storage class in c
How do you use a pointer to a function?
Can the size of an array be declared at runtime?
Why do we need to test weather it is memory leak or not?
How are portions of a program disabled in demo versions?
How many levels deep can include files be nested?
How can I sort things that are too large to bring into memory?
What does it mean when a pointer is used in an if statement?
Why should I prototype a function?
What is a macro, and how do you use it?
Differentiate between a linker and linkage?
Difference between Function to pointer and pointer to function
Can static variables be declared in a header file?
Is it acceptable to declare/define a variable in a C header?
Difference between arrays and pointers?

No comments: