Answer Posted / nashiinformaticssolutions
Segmentation faults occur when invalid memory is accessed. Use debugging tools like gdb to analyze.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
What is structure padding in c?
What is the use of in c?
What is the difference between functions abs() and fabs()?
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
Can you write the function prototype, definition and mention the other requirements.
What is the stack in c?
Why is c used in embedded systems?
What is dynamic dispatch in c++?
How can I ensure that integer arithmetic doesnt overflow?
Write a program for Overriding.
What is type qualifiers?
Explain the difference between ++u and u++?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
What is the use of putchar function?