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 heap?
What does nil mean in c?
Is main a keyword in c?
The operation of a stair case switch best explains the a) or operation b) and operation c)exclusive nor operation d)exclusive or operation Which of the following is/are syntactically correct? a) for(); b) for(;); c) for(,); d) for(;;);
1 Answers HCL, Public Service Commission,
what is a pointer
4 Answers Bank Of America, TCS,
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
What is calloc()?
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
How many ways are there to swap two numbers without using temporary variable? Give the each logic.
What is C++
Write a C program to perform some of the operation which can be performed using Single linked list
why return type of main is not necessary in linux