Can you think of a condition where your program would crash , C/C++ Programming

Can you think of a condition where your program would crash without attaining the breakball, which you set at the straining of main()?

A: C++ let for dynamic initialization of global variables before main () is invoked. This is probable that initialization of global will invoke some function. If this function crashes the rash will take place before main() is entered.

 

Posted Date: 3/21/2013 7:24:13 AM | Location : United States







Related Discussions:- Can you think of a condition where your program would crash , Assignment Help, Ask Question on Can you think of a condition where your program would crash , Get Answer, Expert's Help, Can you think of a condition where your program would crash Discussions

Write discussion on Can you think of a condition where your program would crash
Your posts are moderated
Related Questions
Question: (a) Write short notes on arrays. Extend your answer by putting emphasis on memory allocation. (b) Write a C++ program to input an integer n followed by n real-

Aim: To implement program to calculate area of cube using inline function. Code: inline void area_cube(float side) {             float area;             are

A: Name mangling is the rule according to which C++ modify function's name into function signature before passing that function to a linker. It is how the linker differentiates amo

List any six commonly found programming errors in a C program Six commonly found errors in a C program are: 1.  Missing or misplaced  ; or  }, missing return type for a proc

Problem Description There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometime

.Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b.

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b

How to Define a Structure? Structure declarations are rather more complicated than array declarations, ever since a structure must be defined in terms of its individual members