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 breakpoint that you set at the starting of main()?

A: C++ let for dynamic initialization of global variables before main() is invoked. This is possible that initialization of global will invoke some of function. If this function crashes the crash will take place before main() is entered. Name two cases in which you MUST use initialization list as opposed to assignment in constructors. Non-static const data members and reference data members both cannot be assigned values; rather then, you must use initialization list to initialize them.

 

Posted Date: 3/21/2013 7:35:09 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
1.jewels can only be removed for polishing from either end of the necklace. 2.cost of polishing=sitting number*colour value of jewels.

Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send


Each function has its own stack frame between %fp and %sp. Let Caller calls Callee. Then Caller's %sp becomes callee's %fp, and callee's %sp set to be a new value (a smaller one be


What are some guidelines / "rules of thumb" for overloading operators? A: Here are a few guidelines / rules of thumb .Use common sense. If your overloaded operator makes life si

Write a C++ program that can be used to evaluate the credit worthiness of a client. The program reads the credit limit and the price and quantity of the item to be purchased by the

A: The inline keyword tells the compiler to substitute the code in the function de_nition for each instance of a function call. Though, substitution takes place only at the compile

To write a program to use different levels of array of pointer to pointer & display the output as 1 1 1 2 2 2 3 3 3

At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with thes