All Stories

Saturday, 11 January 2014

16.What are the few advantages of Inline function?
  • It offers an improved macro facility.
  • By using the inline functions, the user can split a large function with many nested modules of statement blocks into many small inline functions.
17.What is copy constructor?
Copy constructor is a constructor function with the same name as the class and used to make deep copy of objects.
18.What is default constructor?
A default constructor is a constructor that either has no parameters, or if it has parameters, all the parameters have default values.
19.What is a scope resolution operator?
The scope resolution operator permits a program to reference an identifier in the global scope that has been hidden by another identifier with the same name in the local scope.
20.What is the difference between Object and Instance?
  • An instance of a user-defined type is called an object. We can instantiate many objects from one class.
  • An object is an instance of a class.
                   <<<PREV                                                                                                 NEXT>>>

C++ Interview Question and Answers : 4

16.What are the few advantages of Inline function?
  • It offers an improved macro facility.
  • By using the inline functions, the user can split a large function with many nested modules of statement blocks into many small inline functions.
17.What is copy constructor?
Copy constructor is a constructor function with the same name as the class and used to make deep copy of objects.
18.What is default constructor?
A default constructor is a constructor that either has no parameters, or if it has parameters, all the parameters have default values.
19.What is a scope resolution operator?
The scope resolution operator permits a program to reference an identifier in the global scope that has been hidden by another identifier with the same name in the local scope.
20.What is the difference between Object and Instance?
  • An instance of a user-defined type is called an object. We can instantiate many objects from one class.
  • An object is an instance of a class.
                   <<<PREV                                                                                                 NEXT>>>

Posted at 22:00 |  by Pritam

Thursday, 9 January 2014


Here in this video i have shown how to purchase the domain name and hostin account at just 20$ at max.With domain name .com extension at 12.95$ . Here is the link to use the coupon code on hostgator: http:--secure.hostgator.com-~affiliat-cgi-bin-affiliates-clickthru.cgi?id=laxmikanta Coupon Code: webdesignfreetutorials ---- get 25% off on your purchase In the next video i will show you how to install wordpress on your hosting in two ways. If you like our videos then subscribe us and leave comments , If you have any questions then we wil get back to you as soon as we can. If you need any type of help regarding wordpress please let us know with writting comments below the video i will get back to you in 24 hrs or you can mail me at: laxmikantanayak415@gmail.com Dont forget to subscribe if you want to keep yourself updated with our upcomming tutorials on programming languages( HTML, css , js, php, mysql beginners--to--advance)

How to purchase the domain name and hostin account at just 20$


Here in this video i have shown how to purchase the domain name and hostin account at just 20$ at max.With domain name .com extension at 12.95$ . Here is the link to use the coupon code on hostgator: http:--secure.hostgator.com-~affiliat-cgi-bin-affiliates-clickthru.cgi?id=laxmikanta Coupon Code: webdesignfreetutorials ---- get 25% off on your purchase In the next video i will show you how to install wordpress on your hosting in two ways. If you like our videos then subscribe us and leave comments , If you have any questions then we wil get back to you as soon as we can. If you need any type of help regarding wordpress please let us know with writting comments below the video i will get back to you in 24 hrs or you can mail me at: laxmikantanayak415@gmail.com Dont forget to subscribe if you want to keep yourself updated with our upcomming tutorials on programming languages( HTML, css , js, php, mysql beginners--to--advance)

Posted at 09:33 |  by Unknown

Wednesday, 8 January 2014

11.Define Constructors?
A constructor is a member function with the same name as its class. The constructor is invoked whenever an object of its associated class is created.It is called constructor because it constructs the values of data members of the class.
12.How variable declaration in c++ differs that in c?
C requires all the variables to be declared at the beginning of a scope but in c++ we can declare variables anywhere in the scope. This makes the programmer easier to understand because the variables are declared in the context of their use.
13.Define destuctors?
  • A destructor is called for a class object when that object passes out of scope or is explicitly deleted.
  • A destructors as the name implies is used to destroy the objects that have been created by a constructors.
  • Like a constructor , the destructor is a member function whose name is the same as the class name but is precided by a tilde.
14.What is a class?
A class is a collection of objects.
15.what is the difference between c & c++?
    C++ ia an object oriented programing but C is a procedure oriented programing.
  • C is super set of C++.
  • C can’t suport inheritance, function overloading, method overloading etc. but c++ can do this.
  • In c program the main function could not return a value but in the c++ the main function shuld return a value.

                 <<<PREV                                                                                                  NEXT>>>

C++ Interview Question and Answers : 3

11.Define Constructors?
A constructor is a member function with the same name as its class. The constructor is invoked whenever an object of its associated class is created.It is called constructor because it constructs the values of data members of the class.
12.How variable declaration in c++ differs that in c?
C requires all the variables to be declared at the beginning of a scope but in c++ we can declare variables anywhere in the scope. This makes the programmer easier to understand because the variables are declared in the context of their use.
13.Define destuctors?
  • A destructor is called for a class object when that object passes out of scope or is explicitly deleted.
  • A destructors as the name implies is used to destroy the objects that have been created by a constructors.
  • Like a constructor , the destructor is a member function whose name is the same as the class name but is precided by a tilde.
14.What is a class?
A class is a collection of objects.
15.what is the difference between c & c++?
    C++ ia an object oriented programing but C is a procedure oriented programing.
  • C is super set of C++.
  • C can’t suport inheritance, function overloading, method overloading etc. but c++ can do this.
  • In c program the main function could not return a value but in the c++ the main function shuld return a value.

                 <<<PREV                                                                                                  NEXT>>>

Posted at 20:12 |  by Pritam

6.What is encapsulation?
The wrapping up of data and functions into a single unit (called class) is known as encapsulation. Encapsulation containing and hiding information about an object, such as internal data structures and code.
7.What is message passing?
An object oriented program consists of a set of objects that communicate with each other. Message passing involves specifying the name of the object, the name of the function and the information to be sent.
8.What are tokens in C++?
    The smallest individual units of a program is known as tokens. c++ has the following tokens :
  • Keywords
  • Identifiers
  • Constants
  • Strings
  • Operators
9.What is the use of enumerated data type?
An enumerated data type is another user defined type which provides a way for attaching names to numbers thereby increasing comprehensibility of the code. The enum keyword automatically enumerates a list of words by assigning them values 0,1,2, and so on.
10.What is the use of default constructor?
A constructors that accepts no parameters is called the default constructor.If no user-defined constructor exists for a class A and one is needed, the compiler implicitly declares a default parameterless constructor A::A(). This constructor is an inline public member of its class. The compiler will implicitly define A::A() when the compiler uses this constructor to create an object of type A. The constructor will have no constructor initializer and a null body.

                   <<<PREV                                                                                             NEXT>>>          

C++ Interview Question and Answers : 2


6.What is encapsulation?
The wrapping up of data and functions into a single unit (called class) is known as encapsulation. Encapsulation containing and hiding information about an object, such as internal data structures and code.
7.What is message passing?
An object oriented program consists of a set of objects that communicate with each other. Message passing involves specifying the name of the object, the name of the function and the information to be sent.
8.What are tokens in C++?
    The smallest individual units of a program is known as tokens. c++ has the following tokens :
  • Keywords
  • Identifiers
  • Constants
  • Strings
  • Operators
9.What is the use of enumerated data type?
An enumerated data type is another user defined type which provides a way for attaching names to numbers thereby increasing comprehensibility of the code. The enum keyword automatically enumerates a list of words by assigning them values 0,1,2, and so on.
10.What is the use of default constructor?
A constructors that accepts no parameters is called the default constructor.If no user-defined constructor exists for a class A and one is needed, the compiler implicitly declares a default parameterless constructor A::A(). This constructor is an inline public member of its class. The compiler will implicitly define A::A() when the compiler uses this constructor to create an object of type A. The constructor will have no constructor initializer and a null body.

                   <<<PREV                                                                                             NEXT>>>          

Posted at 19:44 |  by Pritam

Description: Fresh cream cake with cherry and chocolate flakes
Black Forest Cake is a delicious combination of chocolate cake, soaked cherries, and loads of whipped cream.

RECIPE OF BLACK FOREST CAKE

Ingredient NameQuantityUnit
Chocolate Cake Sheets1Numbers
Cream1Numbers
Sugar1Cup

DIRECTIONS

  • Take blender blend cream and sugar and keep aside.In a bowl add water and sugar mix well keep a side.
  • Now take the Cake sheets sprinkle sugar water and  spread the cream and top it of with cherrys now the another layer of cake repeat the same process twice.
  • And lastly spread the cream on the cake and top it of with cherrys, and sprinkle the chocolate.   


BLACK FOREST CAKE


Description: Fresh cream cake with cherry and chocolate flakes
Black Forest Cake is a delicious combination of chocolate cake, soaked cherries, and loads of whipped cream.

RECIPE OF BLACK FOREST CAKE

Ingredient NameQuantityUnit
Chocolate Cake Sheets1Numbers
Cream1Numbers
Sugar1Cup

DIRECTIONS

  • Take blender blend cream and sugar and keep aside.In a bowl add water and sugar mix well keep a side.
  • Now take the Cake sheets sprinkle sugar water and  spread the cream and top it of with cherrys now the another layer of cake repeat the same process twice.
  • And lastly spread the cream on the cake and top it of with cherrys, and sprinkle the chocolate.   


Posted at 19:34 |  by Pritam

Description:  

RECIPE OF CHICKEN CURRY

Ingredient NameQuantityUnit
Salt1-2Teaspoons
Tomato1Numbers
Ginger50Grams
Garlic3-4Clove
Onions2Numbers
Cinnamon2-3Piece
Red Chilli Powder1/2Teaspoons
Cumin Powder3Teaspoons
Chicken Drumsticks Or Thighs10Numbers
Cardamom3-4oz
Tumeric Powder3/4Teaspoons

DIRECTIONS

Remove the skin from the chicken then wash it thoroughly four to five times. Peel the skin off the onions and finely chop them. Shred the garlic into very fine pieces and mash or cut the ginger. Grind the whole cinnamon and cadamom (with shells) together to a coarse powder.Pour enough oil to just cover the base of a dry medium to large saucepan and heat until the oil is very hot but not smoking. Add the garlic and the onions to the oil . Fry until the onions brown. Remove the saucepan from the heat and leave to stand.Place all the spices (tumeric, cumin powder and chilli powder) into a small cereal bowel. Add about half a cup of water and mix. Pour the spice mixture into the onions. Fry on a medium heat until most of the water evaporates but ensure that the spice mixture does not burn. Add the chicken and stir until all the chicken is coated. Reduce to low heat. Add the salt, tomato and ginger and cook for 10 - 15 minutes. Then add enough water to just cover the chicken. Place a lid on the saucepan and bring to boil. Reduce to medium heat and simmer for 30 minutes or until the chicken is tender. Add the cadamom / cinnamon powder 10 minutes before the chicken is served. Mrs Pal's chicken curry is ready to be served straight away but tastes even better the next day!Start the recipe as above but add the chicken first into the onions, then the spices directly onto the chicken, followed by tomato, ginger and salt . Stir vigorously for 5 minutes on a high heat and add enough water to cover the chicken. The curry is ready in 30 minutes. 

CHICKEN CURRY


Description:  

RECIPE OF CHICKEN CURRY

Ingredient NameQuantityUnit
Salt1-2Teaspoons
Tomato1Numbers
Ginger50Grams
Garlic3-4Clove
Onions2Numbers
Cinnamon2-3Piece
Red Chilli Powder1/2Teaspoons
Cumin Powder3Teaspoons
Chicken Drumsticks Or Thighs10Numbers
Cardamom3-4oz
Tumeric Powder3/4Teaspoons

DIRECTIONS

Remove the skin from the chicken then wash it thoroughly four to five times. Peel the skin off the onions and finely chop them. Shred the garlic into very fine pieces and mash or cut the ginger. Grind the whole cinnamon and cadamom (with shells) together to a coarse powder.Pour enough oil to just cover the base of a dry medium to large saucepan and heat until the oil is very hot but not smoking. Add the garlic and the onions to the oil . Fry until the onions brown. Remove the saucepan from the heat and leave to stand.Place all the spices (tumeric, cumin powder and chilli powder) into a small cereal bowel. Add about half a cup of water and mix. Pour the spice mixture into the onions. Fry on a medium heat until most of the water evaporates but ensure that the spice mixture does not burn. Add the chicken and stir until all the chicken is coated. Reduce to low heat. Add the salt, tomato and ginger and cook for 10 - 15 minutes. Then add enough water to just cover the chicken. Place a lid on the saucepan and bring to boil. Reduce to medium heat and simmer for 30 minutes or until the chicken is tender. Add the cadamom / cinnamon powder 10 minutes before the chicken is served. Mrs Pal's chicken curry is ready to be served straight away but tastes even better the next day!Start the recipe as above but add the chicken first into the onions, then the spices directly onto the chicken, followed by tomato, ginger and salt . Stir vigorously for 5 minutes on a high heat and add enough water to cover the chicken. The curry is ready in 30 minutes. 

Posted at 19:21 |  by Pritam

Tuesday, 8 October 2013

1.What is C++
C++ is created by Bjarne Stroustrup of AT&T Bell Labs as an extension of C, C++ is an object-oriented computer language used in the development of enterprise and commercial applications. Microsoft’s Visual C++ became the premier language of choice among developers and programmers.
2.What are the basic concepts of object oriented programming?
    It is necessary to understand some of the concepts used extensively in object oriented programming.These include
  • Objects
  • Classes
  • Data abstraction and encapsulation
  • Inheritance
  • Polymorphism
  • Dynamic Binding
  • Message passing
3.Define inheritance?
The mechanism of deriving a new class (derived) from an old class (base class) is called inheritance. It allows the extension and reuse of existing code without having to rewrite the code from scratch. Inheritance is the process by which objects of one class acquire properties of objects of another class.
4.Define polymorphism?
Polymorphism means one name, multiple forms. It allows us to have more than one function with the same name in a program.It allows us to have overloading of operators so that an operation can exhibit different behaviours in different instances.
5.What is encapsulation?
The wrapping up of data and functions into a single unit (called class) is known as encapsulation. Encapsulation containing and hiding information about an object, such as internal data structures and code.

                                                                                                            NEXT>>>

C++ Interview Question and Answers : 1

1.What is C++
C++ is created by Bjarne Stroustrup of AT&T Bell Labs as an extension of C, C++ is an object-oriented computer language used in the development of enterprise and commercial applications. Microsoft’s Visual C++ became the premier language of choice among developers and programmers.
2.What are the basic concepts of object oriented programming?
    It is necessary to understand some of the concepts used extensively in object oriented programming.These include
  • Objects
  • Classes
  • Data abstraction and encapsulation
  • Inheritance
  • Polymorphism
  • Dynamic Binding
  • Message passing
3.Define inheritance?
The mechanism of deriving a new class (derived) from an old class (base class) is called inheritance. It allows the extension and reuse of existing code without having to rewrite the code from scratch. Inheritance is the process by which objects of one class acquire properties of objects of another class.
4.Define polymorphism?
Polymorphism means one name, multiple forms. It allows us to have more than one function with the same name in a program.It allows us to have overloading of operators so that an operation can exhibit different behaviours in different instances.
5.What is encapsulation?
The wrapping up of data and functions into a single unit (called class) is known as encapsulation. Encapsulation containing and hiding information about an object, such as internal data structures and code.

                                                                                                            NEXT>>>

Posted at 22:48 |  by Pritam


Ingredient NameUnitQuantity
Coriander leaves, for garnish

0



Ginger garlic paste

tsp

1

Green peas, fresh

tbsp

1

Chilli powder

tsp

1

Coriander leaves

tbsp

1

Coriander powder

tsp

1/2

Cumin seeds

tsp

1

Eggs, boiled

number

5

Garam masala powder

tsp

1

Garlic, chopped

clove

2-3

Green chillies, finely chopped

tsp

1/2

Oil for frying

0



Onion paste

tbsp

1

Salt

to taste



Tomato puree

cup

1/2

Turmeric powder

tsp

1/2

Water as required

0



Directions | How to make Tari Wali Andey
Boil the Eggs and keep aside. In a kadai, add some oil and when the oil gets hot, add cumin seeds, coriander leaves, green chillies, garlic, and onion paste. Sauté well until they are nicely coloured. Add turmeric powder, ginger garlic paste, coriander powder, chilli powder, salt and tomato puree. Stir well. Add garam masala and then add some water, mix and cover with a lid and cook for about 7-8 minutes. Once the gravy becomes thick, add some more water and mix well. Allow it to cook to thin gravy. Now add the boiled eggs into this silky gravy and allow it to cook for few minutes and then switch off the flame. Garnish with coriander leaves. Serve with roti, chapatti, naan or rice.



Tari wali andey



Ingredient NameUnitQuantity
Coriander leaves, for garnish

0



Ginger garlic paste

tsp

1

Green peas, fresh

tbsp

1

Chilli powder

tsp

1

Coriander leaves

tbsp

1

Coriander powder

tsp

1/2

Cumin seeds

tsp

1

Eggs, boiled

number

5

Garam masala powder

tsp

1

Garlic, chopped

clove

2-3

Green chillies, finely chopped

tsp

1/2

Oil for frying

0



Onion paste

tbsp

1

Salt

to taste



Tomato puree

cup

1/2

Turmeric powder

tsp

1/2

Water as required

0



Directions | How to make Tari Wali Andey
Boil the Eggs and keep aside. In a kadai, add some oil and when the oil gets hot, add cumin seeds, coriander leaves, green chillies, garlic, and onion paste. Sauté well until they are nicely coloured. Add turmeric powder, ginger garlic paste, coriander powder, chilli powder, salt and tomato puree. Stir well. Add garam masala and then add some water, mix and cover with a lid and cook for about 7-8 minutes. Once the gravy becomes thick, add some more water and mix well. Allow it to cook to thin gravy. Now add the boiled eggs into this silky gravy and allow it to cook for few minutes and then switch off the flame. Garnish with coriander leaves. Serve with roti, chapatti, naan or rice.



Posted at 22:44 |  by Pritam
21.What are the differences between structures and union?
A structure variable contains each of the named members, and its size is large enough to hold all the members. Structure elements are of same size.

A Union contains one of the named members at a given time and is large enough to hold the largest member. Union element can be of different sizes.
22.What is the difference between arrays and pointers?
Array is collection of similar datatype. it is a static memory allocation means we can not increment and decrement the arry size once we allocated. and we can not increment the base address, reassign address.

Pointer is a dynamic memory allocation. we can allocate the size as we want, assigning into another variable and base address incrementation is allowed.
23.What is dynamic binding?
Dynamic binding (also known as late binding) means that the code associated with a given procedure call is not known until the time of the call at run time.It is associated with polymorphism and inheritance.
24.what is an abstract base class?
An abstract class is a class that is designed to be specifically used as a base class. An abstract class contains at least one pure virtual function.
25.What is the difference between class and structure?
  • By default, the members ot structures are public while that tor class is private.
  • structures doesn’t provide something like data hiding which is provided by the classes.
  • structures contains only data while class bind both data and member functions.
<<<PREV                                                                                             NEXT>>>


C Language Interview Question and Answers : 5

21.What are the differences between structures and union?
A structure variable contains each of the named members, and its size is large enough to hold all the members. Structure elements are of same size.

A Union contains one of the named members at a given time and is large enough to hold the largest member. Union element can be of different sizes.
22.What is the difference between arrays and pointers?
Array is collection of similar datatype. it is a static memory allocation means we can not increment and decrement the arry size once we allocated. and we can not increment the base address, reassign address.

Pointer is a dynamic memory allocation. we can allocate the size as we want, assigning into another variable and base address incrementation is allowed.
23.What is dynamic binding?
Dynamic binding (also known as late binding) means that the code associated with a given procedure call is not known until the time of the call at run time.It is associated with polymorphism and inheritance.
24.what is an abstract base class?
An abstract class is a class that is designed to be specifically used as a base class. An abstract class contains at least one pure virtual function.
25.What is the difference between class and structure?
  • By default, the members ot structures are public while that tor class is private.
  • structures doesn’t provide something like data hiding which is provided by the classes.
  • structures contains only data while class bind both data and member functions.
<<<PREV                                                                                             NEXT>>>


Posted at 22:35 |  by Pritam

Thursday, 19 September 2013

16.What is a macro?
Macros are the identifiers that represent statements or expressions. To associate meaningful identifiers with constants, keywords, and statements or expressions.
17.What is arrays?
Array is a variable that hold multiple elements which has the same data type.
18.What is the difference between #include‹ › and #include “ ”?
#include‹ › ----> Specifically used for built in header files.
#include “ ” ----> Specifically used for used for user defined/created n header file.
19.What are the advantages of the functions?
  • It reduces the Complexity in a program by reducing the code.
  • Function are easily understanding and reliability and execution is faster.
  • It also reduces the Time to run a program.In other way,Its directly proportional to Complexity.
  • Its easy to find-out the errors due to the blocks made as function definition outside the main function.
20.How do declare an array?
We can declare an array by specify its data type, name and the number of elements the array holds between square brackets immediately following the array name.
syntax :
data_type array_name[size];

<<<PREV
                                                                                         NEXT>>>

C Language Interview Question and Answers : 4

16.What is a macro?
Macros are the identifiers that represent statements or expressions. To associate meaningful identifiers with constants, keywords, and statements or expressions.
17.What is arrays?
Array is a variable that hold multiple elements which has the same data type.
18.What is the difference between #include‹ › and #include “ ”?
#include‹ › ----> Specifically used for built in header files.
#include “ ” ----> Specifically used for used for user defined/created n header file.
19.What are the advantages of the functions?
  • It reduces the Complexity in a program by reducing the code.
  • Function are easily understanding and reliability and execution is faster.
  • It also reduces the Time to run a program.In other way,Its directly proportional to Complexity.
  • Its easy to find-out the errors due to the blocks made as function definition outside the main function.
20.How do declare an array?
We can declare an array by specify its data type, name and the number of elements the array holds between square brackets immediately following the array name.
syntax :
data_type array_name[size];

<<<PREV
                                                                                         NEXT>>>

Posted at 21:36 |  by Pritam
11.Define destuctors?
A destructor is called for a class object when that object passes out of scope or is explicitly deleted.A destructors as the name implies is used to destroy the objects that have been created by a constructors.Like a constructor , the destructor is a member function whose name is the same as the class name but is precided by a tilde.
12.What is a structure?
Structure constitutes a super data type which represents several different data types in a single unit. A structure can be initialized if it is static or global.
13.What is message passing?
An object oriented program consists of a set of objects that communicate with each other. Message passing involves specifying the name of the object, the name of the function and the information to be sent.
14.Define Constructors?
A constructor is a member function with the same name as its class. The constructor is invoked whenever an object of its associated class is created.It is called constructor because it constructs the values of data members of the class.
15.What is the use of default constructor?
A constructors that accepts no parameters is called the default constructor.If no user-defined constructor exists for a class A and one is needed, the compiler implicitly declares a default parameterless constructor A::A(). This constructor is an inline public member of its class. The compiler will implicitly define A::A() when the compiler uses this constructor to create an object of type A. The constructor will have no constructor initializer and a null body.

<<<PREV                                                                                            NEXT>>>

C Language Interview Question and Answers : 3

11.Define destuctors?
A destructor is called for a class object when that object passes out of scope or is explicitly deleted.A destructors as the name implies is used to destroy the objects that have been created by a constructors.Like a constructor , the destructor is a member function whose name is the same as the class name but is precided by a tilde.
12.What is a structure?
Structure constitutes a super data type which represents several different data types in a single unit. A structure can be initialized if it is static or global.
13.What is message passing?
An object oriented program consists of a set of objects that communicate with each other. Message passing involves specifying the name of the object, the name of the function and the information to be sent.
14.Define Constructors?
A constructor is a member function with the same name as its class. The constructor is invoked whenever an object of its associated class is created.It is called constructor because it constructs the values of data members of the class.
15.What is the use of default constructor?
A constructors that accepts no parameters is called the default constructor.If no user-defined constructor exists for a class A and one is needed, the compiler implicitly declares a default parameterless constructor A::A(). This constructor is an inline public member of its class. The compiler will implicitly define A::A() when the compiler uses this constructor to create an object of type A. The constructor will have no constructor initializer and a null body.

<<<PREV                                                                                            NEXT>>>

Posted at 21:32 |  by Pritam
© 2013 Knowledge To Grab. WP Theme-junkie converted by K-Grab
Blogger templates. Proudly Powered by Blogger.
back to top