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 |
Explain what is the benefit of using const for declaring constants?
In which area global, external variables are stored?
What are the types of variables in c?
Hai why 'c' is the middle language
What is a structure and why it is used?
How can I return multiple values from a function?
what does static variable mean?
24.what is a void pointer? 25.why arithmetic operation can’t be performed on a void pointer? 26.differentiate between const char *a; char *const a; and char const *a; 27.compare array with pointer? 28.what is a NULL pointer? 29.what does ‘segmentation violation’ mean? 30.what does ‘Bus Error’ mean? 31.Define function pointers? 32.How do you initialize function pointers? Give an example? 33.where can function pointers be used?
Define a structure to store the record of library. The record must consist of at least following fields: Title, Author, Edition, Price, Publisher, and Category. -Define functions authorSearch ( ), TitleSearch ( ) and CategorySearch ( ) to search a book with respect to author, title and category. [There can be more than one book, written by one author, in one category]
Write a program to remove the C comments(/* */) and C++ comments(//) from a file. The file should be declared in command line.
how to count no of words,characters,lines in a paragraph.
what is difference between getchar,putchar functions and printf and scanf function? does putchar show output only when input given to it