Write a short program that contains statements to output the values of a variable that you define but neither initialize nor assign. Discuss the output you get.

Write a short program that contains statements to output the values of a variable that you define but neither initialize nor assign. Discuss the output you get. 

Answer:
#include <iostream>
using namespace std;
int main()
{
  int uninitialized;
  cout << uninitialized << endl;
  return 0;
}

Comments

Popular posts from this blog

Agile Method Advantages and Disadvantages

What is the Monroe Kellie Hypothesis and why is this important to your patient with increased intracranial pressure?

Summarize effective communication strategies in organizational hierarchies, and review the role and relevance of the organizational grapevine