Create a vector array of length 8,and also initialize the elements of this array with values 0 1 2 3 4 5 6 7 (5 mrk)
=====================
2)
suppose base class and derive class have a member function with same signature.now call that member function throw pointer to a base class object.Now what determines that the base class member function or derived class will be called? (mrk 5)
=======================
3):
Find and correct the error(s) in the code below
Class counter
{
Public:
Counter(intx=10{val=x;
}
Int increment data()const{return++vali}
Static int get count()
{
Cout<<"data is "<<Val<<end;
Return;
}
Private:
Int val;
Static in count;
};
================
4):
Describe the salint feature of abstract class (mrk3)
5):
Give the C++ code of template function to print the values of any type of array I int.this function will take 2 parameters one will be pointer and other will be will be size of array (mrk3)
6)
Give the name of three operation that a corsor or itrator generally provide (mrk3)
7)
What do u know about function Template?
8)
Give the basic difference between itrator and cursors?
The least one advantage and Disadvantage of Template
--
paa lenay ki khushi pal bhar ki hoti h mgr kho denay ka mlaal umer bhr rehta h
SO yah mat socho k zindagi mn kitny
pal hein yah socho k aik pal mein kitni
zindageyan hein!!!!!!
*NISA_M@llik*
--
Group Basic Rules:
Immoral & Rudish talk, Earning program links, Cell number for friendship purpose, Websites/Groups Links, Adult contents, Spamming are strictly prohibited and banned in group.
Follow these detailed Group Rules, otherwise you will be banned at any time.
https://docs.google.com/document/d/1YJxA8x3_U7C1lRc0EXfLrJpco4A1XkB1vDxOTqOd3Jg/edit?hl=en&authkey=CNDy9tkJ
Group Email Address:
Attock-VU-Group@Googlegroups.Com
Join group by sending a blank email from University ID at:
Attock-VU-Group+Subscribe@Googlegroups.Com
Click here to Join this group at Facebook:
https://www.facebook.com/home.php?sk=group_111877855568034
Do not send Non-study-related Emails till the ending of Final Exam.
--
paa lenay ki khushi pal bhar ki hoti h mgr kho denay ka mlaal umer bhr rehta h
SO yah mat socho k zindagi mn kitny
pal hein yah socho k aik pal mein kitni
zindageyan hein!!!!!!
*NISA_M@llik*
--
Group Basic Rules:
Immoral & Rudish talk, Earning program links, Cell number for friendship purpose, Websites/Groups Links, Adult contents, Spamming are strictly prohibited and banned in group.
Follow these detailed Group Rules, otherwise you will be banned at any time.
https://docs.google.com/document/d/1YJxA8x3_U7C1lRc0EXfLrJpco4A1XkB1vDxOTqOd3Jg/edit?hl=en&authkey=CNDy9tkJ
Group Email Address:
Attock-VU-Group@Googlegroups.Com
Join group by sending a blank email from University ID at:
Attock-VU-Group+Subscribe@Googlegroups.Com
Click here to Join this group at Facebook:
https://www.facebook.com/home.php?sk=group_111877855568034
Do not send Non-study-related Emails till the ending of Final Exam.
No comments:
Post a Comment