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
C program to print L diagonal triangle: void main() {                 int i=0,j=0;                 int arr[rows][cols];                 for (i=0; i

Need Payment Gateway Integration Expert Project Description: I am seeking for expert payment gateway integration. You must have done or have experience with integrating me

What is the use of PEAR in php? PEAR is termed as PHP Extension and Application Repository. It provides structured library to PHP users and also gives provision for package mai

A: In C, encapsulation was completed by making things static in a compilation unit or module. It prevented another module from accessing the static stuff. (Incidentally, now static

Create a mathematical number guessing game. Have the user prompt for the number of games that they want to play. Then each game consists of the following rules. a. The computer

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 sometimes mistakes doing that

I need a project on car rental system using c programming only of college level

Define the Char Data Type of C Language? The char defines characters. The char type will usually require only 1 byte of internal storage. Every char type has an equivalent inte

Need an indicator Project Description: Need an indicator which indicates target and trailing sl after entering trades. Skills required are C Programming, C++ Programming,

Data is required to be fed into the program (input) and sent out of the program (output). Considering the draughtsman using a CAD station, the input is his commands to cause lines/