To what value are pointers initialized?
1) NULL
2) Newly allocated memory
3) No action is taken by the compiler to initialize
pointers.
Answers were Sorted based on User's Feedback
no action is taken by complier to initialize pointers
Is This Answer Correct ? | 21 Yes | 3 No |
Answer / n
depends:
-if static storage for pointer(pointer itself is a global
variable) => initialized with NULL
-if automatic storage =>no initialization
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / harman bajaj
When we create a pointer, then by default the pointer
initialized with NULL value .i.e. ASCII value of NULL is 0.
Is This Answer Correct ? | 2 Yes | 1 No |
what is an inline function?
The code is::::: if(condition) Printf("Hello"); Else Printf("World"); What will be the condition in if in such a way that both Hello and world are printed in a single attempt?????? Single Attempt in the sense... It must first print "Hello" and it Must go to else part and print "World"..... No loops, Recursion are allowed........................
14 Answers HOV Services, IBM, Potty,
how i m write c program 1.check prime number 2.prime number series
When should a type cast be used?
largest Of three Number using without if condition?
write a program to print largest number of each row of a 2D array
what is the difference between %d and %*d in c languaga?
can i know the source code for reversing a linked list with out using a temporary variable?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
Explain a file operation in C with an example.
There seem to be a few missing operators ..
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?