Hello There, Guest! RegisterLogin with Facebook
Login with Facebook

New Anna University Nov / Dec 2016 Examination Important Questions
New Anna University (UG / PG) Nov/Dec 2016 and Jan 2017 Theory , Practical Exam Timetable
>>> Anna University Sixth Semester Question Bank Collection (R2013) ECE,MECH,CSE,IT,EEE,CIVIL,EIE
>>> Anna University November/December 2015 Examination Question Papers
>>> Anna University Study Materials for all Departments
>>> Anna University Question Papers : April May June 2015 Question Papers | Nov Dec 2014 and Jan 2015 Question Papers

Register or Login to Submit Study Materials , Shoutbox and also to access Many Features !!

Vidyarthiplus Shop :: Handwritten Premium Lecture Notes
Share your Study Materials with us
Share your Study Materials with us : Click Here

Week end contest
#1


I m gng to post one program  .post the output of the corresponding program


#include<iostream.h>
#include<conio.h>
void fun()
{
class stud
{
private:
int b;
public:
void get()
{
int b;
b=10;
}
void display()
{
cout<<"b="<<b;
}
}};
void main()
{
stud o1;
o1.get();
01.display();
getch();
}
                               Al the very best


         "For winners one reputation is to be added"



Reply
#2

It has 2 errors...IT cannot be run because class inside te function can not be call in outside....

Thanks to V+ Bye1


Reply
#3


wel wel.. u r too good in oops



Reply

Subscribe


Recommend on Google