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 |
Compare and contrast compilers from interpreters.
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?
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
I came across some code that puts a (void) cast before each call to printf. Why?
int main(){ float f=8.0; if(f==8.0) printf("good"); else printf("bad"); } what is the answere and explain it?
Explain what is the best way to comment out a section of code that contains comments?
Explain what are the __date__ and __time__ preprocessor commands?
what is the meaning of 'c' language
what is a non volatile key word in c language?
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
What is static memory allocation? Explain
can we declare a variable in different scopes with different data types? answer in detail