Answer Posted / clay
Here,
After char *p;
since pointer p is not initialized it is pointing at some
unknown location.
In the next step, the address of the memory allocated by
malloc() is stored at some garbage location pointed by p.
Here p is never initialized or never assigned any value.
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What does c mean in standard form?
Explain the process of converting a Tree into a Binary Tree.
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
What is build process in c?
How to declare pointer variables?
How can you check to see whether a symbol is defined?
regarding pointers concept
When c language was developed?
What is wrong with this declaration?
How to write a code for reverse of string without using string functions?
What is pointers in c with example?
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
Write a program to print ASCII code for a given digit.