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 |
What is signed and unsigned?
can we execute the program with the object file
2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hello World without changing main() the o/p should be intialisation Hello World Desruct the changes should be a)iostream operator<<(iostream os, char*s) os<<'intialisation'<<(Hello World)<<Destruct b) c) d)none of the above
What is the relationship between pointers and data structure?
1.What is a Data Structure? Explain its need? 2.What is a Directed Graph? Write an algorithm to find whether a Directed Graph is connected or not? 3.Explain the process of converting a Tree to a Binary Tree.
What is sizeof array?
How many header files are in c?
What is calloc malloc realloc in c?
How can you tell whether two strings are the same?
How can I change their mode to binary?
write a addition of two no. program with out using printf,scanf,puts .
#include<stdio.h> #include<conio.h> int main() { int a[4][4]={{5,7,5,9}, {4,6,3,1}, {2,9,0,6}}; int *p; int (*q)[4]; p=(int*)a; q=a; printf("\n%u%u",p,q); p++; q++; printf("\n%u%u",p,q); getch(); return 0; } what is the meaning of this program?