What are the different types of pointers?
Answers were Sorted based on User's Feedback
Answer / raj.s
Null pointer and wild pointer.
Null pointer :A null pointer has a reserved value, often
but not necessarily the value zero, indicating that it
refers to no object.
Wild pointer : Wild pointers are pointers that have not
been initialized and may make a program crash or behave
oddly.
| Is This Answer Correct ? | 1 Yes | 0 No |
How to avoid structure padding in C?
Explain what is the benefit of using const for declaring constants?
writ a program to compare using strcmp VIVA and viva with its output.
How to delete a node from linked list w/o using collectons?
What is C++
What is Dynamic Initialization.
what is the full form of c language
34.what are bitwise shift operators? 35.what are bit fields? What is the use of bit fields in a structure declaration? 36.what is the size of an integer variable? 37.what are the files which are automatically opened when a c file is executed? 38.what is the little endian and big endian? 39.what is the use of fflush() function? 40.what is the difference between exit() and _exit() functions? 41.where does malloc() function get the memory? 42.what is the difference between malloc() and calloc() function? 43.what is the difference between postfix and prefix unary increment operators?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
#define min((a),(b)) ((a)<(b))?(a):(b) main() { int i=0,a[20],*ptr; ptr=a; while(min(ptr++,&a[9])<&a[8]) i=i+1; printf("i=%d\n",i);}
While compiling a c program,graphics header files are not including in my program..eg: <graphics.h>,what may be the problem...is there any environment settings exists.
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks