hello friends
what do u mean by BUS ERROR
i got this error while i am doing my program in DATA STRUCTURES
Answers were Sorted based on User's Feedback
Answer / theredplanethavoc
This error occurs when the program tries to access a memory
location outside its address space. That is, accessing
uninitialized pointers, or even mangled pointers (ones which
have no reference or have been deleted).
The Bus error means that the kernel did not detect the
problem on its own; the memory system realized the error.
Is This Answer Correct ? | 4 Yes | 0 No |
Explain how do you convert strings to numbers in c?
f(char *p) { p=(char *)malloc(sizeof(6)); strcpy(p,"HELLO"); } main() { char *p="BYE"; f(p) printf("%s",p); } what is the output?
9 Answers Hughes, Tech Mahindra,
What will be your course of action for a push operation?
Write a C++ program to give the number of days in each month according to what the user entered. example: the user enters June the program must count number of days from January up to June
3. Program to print all possible substrings. ex: String S St Str Stri Strin String t tr tri trin tring r
What is array of structure in c programming?
write a program to display reverse of a number using for loop?
Why do we need a structure?
Program to find the value of e raised to power x using while loop
Can u return two values using return keyword? If yes, how? If no, why?
Explain Basic concepts of C language?
What is n in c?