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



hello friends what do u mean by BUS ERROR i got this error while i am doing my program in DATA STR..

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

hello friends what do u mean by BUS ERROR i got this error while i am doing my program in DATA STR..

Answer / ravi

http://en.wikipedia.org/wiki/Bus_error

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Interview Questions

Compare and contrast compilers from interpreters.

0 Answers  


44.what is the difference between strcpy() and memcpy() function? 45.what is output of the following statetment? 46.Printf(“%x”, -1<<4); ? 47.will the program compile? int i; scanf(“%d”,i); printf(“%d”,i); 48.write a string copy function routine? 49.swap two integer variables without using a third temporary variable? 50.how do you redirect stdout value from a program to a file? 51.write a program that finds the factorial of a number using recursion?

6 Answers   Amdocs,


Write a program which take a integer from user and tell whether the given variable is squar of some number or not. eg: is this number is 1,4,9,16... or not

9 Answers   Alcatel,


I came across some code that puts a (void) cast before each call to printf. Why?

0 Answers  


int main(){ float f=8.0; if(f==8.0) printf("good"); else printf("bad"); } what is the answere and explain it?

3 Answers  






Explain what is the best way to comment out a section of code that contains comments?

0 Answers  


Explain what are the __date__ and __time__ preprocessor commands?

0 Answers  


what is the meaning of 'c' language

3 Answers  


what is a non volatile key word in c language?

1 Answers  


11. Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage

7 Answers   Accenture,


What is static memory allocation? Explain

0 Answers  


can we declare a variable in different scopes with different data types? answer in detail

3 Answers   TCS,


Categories