Quiz 01 Sol
Quiz 01 Sol
Quiz 01 Sol
Q1. Choose the correct answer. Note that overwriting is not allowed [5]
2. Each cell has a unique location in main memory, called the ----------------- of the cell. c
(a) #include<iostream> (b) main() (c) cout (d) using namespace std;
4. Which of the following step is used to combine object program with other programs provided by the
SDK to create executable code: a
Q2. Write down Output of following set of Code; identify the error if any and suggest the
correction needed: [5]
Set 1:
#include <iostream>
int main ()
{ Error is there.
Set 2:
#include <iostream>
int main ()
int var;
var = 10;
cout<<var;
cout<<"Welcome\nto\n\n C++!"<<endl;
return 0;