what is dangling pointer?
Answer / ninja
A pointer referring to an area of memory that has been
deallocated. Dereferencing such a pointer usually produces
garbage
| Is This Answer Correct ? | 18 Yes | 0 No |
the output will be #include<stdio.h> int main () { int i; i = 9/2; printf("%i",i); return 0; }
How can I access memory located at a certain address?
What are keywords c?
#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
How can you determine the size of an allocated portion of memory?
Write a c program to Find the name that you entered is male name or female name? Such as Sunjay is name of male and Payal is name of female
What is the general form of function in c?
main() { int i = 10; printf(" %d %d %d \n", ++i, i++, ++i); }
I didn't count the ducks that I saw in line, but I do remember that one duck was in front of two ducks, another duck behind two ducks. How many ducks did I see?
void main() { int *ptr; ptr = (int *) 0x400 ; printf("ptr=%d",ptr); } output?
What is pragma c?