what is a NULL pointer?
Answers were Sorted based on User's Feedback
Answer / prameela rani
it is a pointer which points nothing.
it does not point any thing
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / ganesh
null pointer is a pointer. it will retrns no value that is
call null pointer
Is This Answer Correct ? | 0 Yes | 0 No |
what is the output of the following program and explain the answer #include<stdio.h> exp() { main(5) } main(int a) { printf("%d",a); return; }
Why is not a pointer null after calling free?
how many key words availabel in c a) 28 b) 31 c) 32
What does static mean in c?
typedef struct { int i:8; char c:9; float f:20; }st_temp; int getdata(st_temp *stptr) { stptr->i = 99; return stptr->i; } main() { st_temp local; int i; local.c = 'v'; local.i = 9; local.f = 23.65; printf(" %d %c %f",local.i,local.c,local.f); i = getdata(&local); printf("\n %d",i); getch(); } why there there is an error during compiling the above program?
program to find a smallest number in an array
how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?
write a program to copy a string without using a string?
what is use of malloc and calloc?
Given a number N, product(N) is the product of the digits of N. We can then form a sequence N, product(N), product(product(N))… For example, using 99, we get the sequence 99, 99 = 81, 81 = 8. Input Format: A single integer N Output Format: A single integer which is the number of steps after which a single digit number occurs in the sequence. Sample Test Cases: Input #00: 99 Output #00: 2 Explanation: Step - 1 : 9 * 9 = 81 Step - 2 : 8 * 1 = 8 There are 2 steps to get to this single digit number. Input #01: 1137638147
What are the types of data structures in c?
Why do we write return 0 in c?