Examlex

Solved

What Is the Output of the Following Code

question 10

Short Answer

What is the output of the following code?
#include<iostream>
int main()
{
using namespace std;
double a[3] = {1.1,3.3,2.2};
cout << a[0] << " " << a[1] << " " << a[2] << endl;
a[1] = a[2];
cout << a[0] << " " << a[1] << " " << a[2] << endl;
}


Definitions:

Neurotransmitter Receptors

Proteins located on neuronal cell membranes that bind neurotransmitters and initiate cellular responses.

Intellectual Ability

The capacity to perform mental activities—thinking, reasoning, and problem-solving—at a higher level of complexity and efficiency.

Schizophrenia

A mental disorder characterized by distorted thinking, perceptions, emotions, language, sense of self, and behavior.

Cognitive-behaviour Therapy

A form of psychological treatment that addresses dysfunctional emotions, behaviors, and cognitions through a goal-oriented, systematic procedure.

Related Questions