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 |
to write a program, that finds the minimum total number of shelves, including the initial one, required for this loading process. The packets are named A, B, C, D, E …….. Any numbers of packets with these names could be kept in the shelf, as in this example: [ZZLLAAJKRDFDDUUGGYFYYKK]. All packets are to be loaded on cars. The cars are lined in order, so that the packets could be loaded on them. The cars are also named [A, B, C, D, E,………….].
what is an ERP?
Differentiate between null and void pointers.
program that accepts amount in figures and print that in words
2 Answers Infosys, Lovely Professional University, Wipro,
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
Why is %d used in c?
hello friends what do u mean by BUS ERROR i got this error while i am doing my program in DATA STRUCTURES
write a program to print the one dimensional array.
HOW TO HANDLE EXCEPTIONS IN C
What should not contain a header file?
write a program to check whether a given integer is a strong number or not? [Hint: 145=1!+4!+5! =1+24+120 =145]