Answer Posted / glibwaresoftsolutions
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 type modifiers in c?
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
What is difference between structure and union in c?
What is selection sort in c?
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
swap 2 numbers without using third variable?
Explain the difference between getch() and getche() in c?
What functions are in conio h?
Explain main function in c?
Why is it important to memset a variable, immediately after allocating memory to it ?
What is the difference between arrays and pointers?
Write the Program to reverse a string using pointers.
What is the correct declaration of main?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.