This PPT File helps IT freshers with the Basic Interview Questions, which will boost there confidence before going to the Interview. For more details and Interview Questions please log in www.rekruitin.com and click on Job Seeker tools. Also register on the and get employed.
By ReKruiTIn.com
This is an overview of C++ (based on 1999 / 2003 standard) and its use in Object Oriented Programming. The presentation assumes that the audience knows C programming.
Programming is hard. Programming correct C and C++ is particularly hard. Indeed, both in C and certainly in C++, it is uncommon to see a screenful containing only well defined and conforming code.Why do professional programmers write code like this? Because most programmers do not have a deep understanding of the language they are using.While they sometimes know that certain things are undefined or unspecified, they often do not know why it is so. In these slides we will study small code snippets in C and C++, and use them to discuss the fundamental building blocks, limitations and underlying design philosophies of these wonderful but dangerous programming languages.
This content has a CC license. Feel free to use it for whatever you want. You may download the original PDF file from: http://www.pvv.org/~oma/DeepC_slides_oct2012.pdf
A function is a group of statements that together perform a task. Every C program has at least one function, which is main(), and all the most trivial programs can define additional functions. You can divide up your code into separate functions.
This is an overview of C++ (based on 1999 / 2003 standard) and its use in Object Oriented Programming. The presentation assumes that the audience knows C programming.
Programming is hard. Programming correct C and C++ is particularly hard. Indeed, both in C and certainly in C++, it is uncommon to see a screenful containing only well defined and conforming code.Why do professional programmers write code like this? Because most programmers do not have a deep understanding of the language they are using.While they sometimes know that certain things are undefined or unspecified, they often do not know why it is so. In these slides we will study small code snippets in C and C++, and use them to discuss the fundamental building blocks, limitations and underlying design philosophies of these wonderful but dangerous programming languages.
This content has a CC license. Feel free to use it for whatever you want. You may download the original PDF file from: http://www.pvv.org/~oma/DeepC_slides_oct2012.pdf
A function is a group of statements that together perform a task. Every C program has at least one function, which is main(), and all the most trivial programs can define additional functions. You can divide up your code into separate functions.
Functions - C Programming
What is a Function? A function is combined of a block of code that can be called or used anywhere in the program by calling the name. ...
Function arguments. Functions are able to accept input parameters in the form of variables. ...
Function return values
Java abstract class & abstract methods,Abstract class in java
Abstract classes are classes that contain one or more abstract methods. An abstract method is a method that is declared, but contains no implementation. Abstract classes may not be instantiated, and require subclasses to provide implementations for the abstract methods.
It tells about functions in C++,Types,Use,prototype,declaration,Arguments etc
function with
A function with no parameter and no return value
A function with parameter and no return value
A function with parameter and return value
A function without parameter and return value
Call by value and address
An enumeration (enum) is a user-defined type (same as structure) that represents a group of constants. typedef is a keyword used to create alias name for the existing datatypes.
Content:
What is function pointer?
Motivation, what is the use cases of function pointer?
Declaration of function pointer in c
Initialization of function pointer in c
Calling a function using the function pointer
Example on function pointer
Function pointer as arguments
By:
AbuBakr Mohammed Ramadan
#AbuBakrMR
This tutorial by simplilearn will explain to you about Functions In C With Examples. Functions In C For Beginners tutorial will help you learn c language functions, c language function calling, c language function prototype, functions in c language, c language library functions, c language user-defined functions In C. This C programming tutorial will cover the types of Functions In C.
Complete C++ programming Language CourseVivek chan
This is the Complete course of C++ Programming Language for Beginners. All Topics of C++ programming Language are covered in this single power point presentation.
Visit: www.cyberlabzone.com
INTRODUCTION
COMPARISON BETWEEN NORMAL FUNCTION AND INLINE FUNCTION
PROS AND CONS
WHY WHEN AND HOW TO USED?
GENERAL STRUCTURE OF INLINE FUNCTION
EXAMPLE WITH PROGRAM CODE
Functions - C Programming
What is a Function? A function is combined of a block of code that can be called or used anywhere in the program by calling the name. ...
Function arguments. Functions are able to accept input parameters in the form of variables. ...
Function return values
Java abstract class & abstract methods,Abstract class in java
Abstract classes are classes that contain one or more abstract methods. An abstract method is a method that is declared, but contains no implementation. Abstract classes may not be instantiated, and require subclasses to provide implementations for the abstract methods.
It tells about functions in C++,Types,Use,prototype,declaration,Arguments etc
function with
A function with no parameter and no return value
A function with parameter and no return value
A function with parameter and return value
A function without parameter and return value
Call by value and address
An enumeration (enum) is a user-defined type (same as structure) that represents a group of constants. typedef is a keyword used to create alias name for the existing datatypes.
Content:
What is function pointer?
Motivation, what is the use cases of function pointer?
Declaration of function pointer in c
Initialization of function pointer in c
Calling a function using the function pointer
Example on function pointer
Function pointer as arguments
By:
AbuBakr Mohammed Ramadan
#AbuBakrMR
This tutorial by simplilearn will explain to you about Functions In C With Examples. Functions In C For Beginners tutorial will help you learn c language functions, c language function calling, c language function prototype, functions in c language, c language library functions, c language user-defined functions In C. This C programming tutorial will cover the types of Functions In C.
Complete C++ programming Language CourseVivek chan
This is the Complete course of C++ Programming Language for Beginners. All Topics of C++ programming Language are covered in this single power point presentation.
Visit: www.cyberlabzone.com
INTRODUCTION
COMPARISON BETWEEN NORMAL FUNCTION AND INLINE FUNCTION
PROS AND CONS
WHY WHEN AND HOW TO USED?
GENERAL STRUCTURE OF INLINE FUNCTION
EXAMPLE WITH PROGRAM CODE
Like most imperative languages in the ALGOL tradition, C has facilities for structured programming and allows lexical variable scope and recursion, while a static type system prevents many unintended operations. In C, all executable code is contained within subroutines, which are called "functions" (although not in the strict sense of functional programming). Function parameters are always passed by value. Pass-by-reference is simulated in C by explicitly passing pointer values. C program source text is free-format, using the semicolon as a statement terminator and curly braces for grouping blocks of statements.
Probability formula sheet
Set theory, sample space, events, concepts of randomness and uncertainty, basic principles of probability, axioms and properties of probability, conditional probability, independent events, Baye’s formula, Bernoulli trails, sequential experiments, discrete and continuous random variable, distribution and density functions, one and two dimensional random variables, marginal and joint distributions and density functions. Expectations, probability distribution families (binomial, poisson, hyper geometric, geometric distribution, normal, uniform and exponential), mean, variance, standard deviations, moments and moment generating functions, law of large numbers, limits theorems
for more visit http://tricntip.blogspot.com/
This slide will guide other researchers that wants to collect data using Interview method. It teaches how to analyse the data as well. This was a presentation that was carried out in our research method class by our group.
C Programming Language Tutorial for beginners - JavaTpointJavaTpoint.Com
JavaTpoint share a presentation of C Programming language for beginners and professionals. now in this slideshare you will be learned basics of c programming language, what is c programming language, history of c programming, installing turbo c, features of c programming language, datatypes of c language, operaters in c, control statement of c language, c language functions, c array, pointer in c programming, and structure and union.
What are the top 100 SQL Interview Questions and Answers in 2014? Based on the most popular SQL questions asked in interview, we've compiled a list of the 100 most popular SQL interview questions in 2014.
This pdf includes oracle sql interview questions and answers, sql query interview questions and answers, sql interview questions and answers for freshers etc and is perfect for those who're appearing for a linux interview in top IT companies like HCL, Infosys, TCS, Wipro, Tech Mahindra, Cognizant etc
This list includes SQL interview questions in the below categories:
top 100 sql interview questions and answers
top 100 java interview questions and answers
top 100 c interview questions and answers
top 50 sql interview questions and answers
top 100 interview questions and answers book
sql interview questions and answers pdf
oracle sql interview questions and answers
sql query interview questions and answers
sql interview questions and answers for freshers
SQL Queries Interview Questions and Answers
SQL Interview Questions and Answers
Top 80 + SQL Query Interview Questions and Answers
Top 20 SQL Interview Questions with Answers
Sql Server Interviews Questions and Answers
100 Mysql interview questions and answers
SQL Queries Interview Questions
SQL Query Interview Questions and Answers with Examples
Mysql interview questions and answers for freshers and experienced
Basic java important interview questions and answers to secure a jobGaruda Trainings
P2Cinfotech is one of the leading, Online IT Training facilities and Job Consultant, spread all over the world. We have successfully conducted online classes on various Software Technologies that are currently in Demand. To name a few, we provide quality online training for QA, QTP, Manual Testing, HP LoadRunner, BA, Java Technologies, SEO, Web Technologies, .NET, Oracle DBA etc.
C++ (pronounced "see plus plus") is a computer programming language based on C. It was created for writing programs for many different purposes. In the 1990s, C++ became one of the most used programming languages in the world.
The C++ programming language was developed by Bjarne Stroustrup at Bell Labs in the 1980s, and was originally named "C with classes". The language was planned as an improvement on the C programming language, adding features based on object-oriented programming. Step by step, a lot of advanced features were added to the language, like operator overloading, exception handling and templates.
These are some of the FAQ's that are asked in TCS NQT exam. By preparing these questions you can obtain good marks.
NOTE: These are FAQ's don't completely relay on it.
We are one of the best embedded systems training institute for advance courses. We are the pioneer of the embedded system training in Pune & Pcmc with the expertise of over 16 years. we are working in the field training & development of embedded systems & currently we are also working on live projects as per the requirements of clients. though we provide many different courses & training in embedded all aim at giving good practical knowledge to students as well help them in their career.
Similar to C, C++ Interview Questions Part - 1 (20)
This Presentation will help you with Techniques on Telephonic Interview Round..
ReKruiTIn.com - India's Fastest Growing Job Portal - Helps to Enhance your Job Search
Thank You!
ReKruiTIn.com Team
HelpDesk - 7666 388 488
www.rekruitin.com
Not sure what you should include on your resume? Here's a list of the information that shouldn't be included when writing a resume.
We are right here to help you with more information in Resume Writing / Professional CV and Career Advice...
Contact: +91 7666 388 488 | rekruit@rekruitin.com
This Video provides information about Group Discussion along with Skills, Few tips and Important Points.
For more information please login to www.rekruitin.com
This Video provides detail information about Team Management, observation @ work place.
For more details, please log in to www.rekruitin.com
Thanks,
ReKruiTIn.com
# 8855041500
This PPT File, helps with the Basic Interview Questions specially for DataBase Domain.. For more questions , please log in to www.rekruitin.com
By ReKruiTIn.com
This PPT will help for SAP Interview Questions particularly SAP domain Candidates. for more information please login to www.rekruitin.com
By ReKruiTIn.com
This PPT, will be very helpful for Engineering candidates specially frehsers who have opted .net . For more details log in to www.rekruitin.com
By ReKruiTIn.com
This Presentation helps JobSeekers, in writing there Resume, It helps in getting the resume shortlisted, and it increases your chances in getting Employed
This Presentation will help the Job Seekers with the Complete Interview Process, It gives a detail Idea about the Process and help in building the Confidence.
Want to move your career forward? Looking to build your leadership skills while helping others learn, grow, and improve their skills? Seeking someone who can guide you in achieving these goals?
You can accomplish this through a mentoring partnership. Learn more about the PMISSC Mentoring Program, where you’ll discover the incredible benefits of becoming a mentor or mentee. This program is designed to foster professional growth, enhance skills, and build a strong network within the project management community. Whether you're looking to share your expertise or seeking guidance to advance your career, the PMI Mentoring Program offers valuable opportunities for personal and professional development.
Watch this to learn:
* Overview of the PMISSC Mentoring Program: Mission, vision, and objectives.
* Benefits for Volunteer Mentors: Professional development, networking, personal satisfaction, and recognition.
* Advantages for Mentees: Career advancement, skill development, networking, and confidence building.
* Program Structure and Expectations: Mentor-mentee matching process, program phases, and time commitment.
* Success Stories and Testimonials: Inspiring examples from past participants.
* How to Get Involved: Steps to participate and resources available for support throughout the program.
Learn how you can make a difference in the project management community and take the next step in your professional journey.
About Hector Del Castillo
Hector is VP of Professional Development at the PMI Silver Spring Chapter, and CEO of Bold PM. He's a mid-market growth product executive and changemaker. He works with mid-market product-driven software executives to solve their biggest growth problems. He scales product growth, optimizes ops and builds loyal customers. He has reduced customer churn 33%, and boosted sales 47% for clients. He makes a significant impact by building and launching world-changing AI-powered products. If you're looking for an engaging and inspiring speaker to spark creativity and innovation within your organization, set up an appointment to discuss your specific needs and identify a suitable topic to inspire your audience at your next corporate conference, symposium, executive summit, or planning retreat.
About PMI Silver Spring Chapter
We are a branch of the Project Management Institute. We offer a platform for project management professionals in Silver Spring, MD, and the DC/Baltimore metro area. Monthly meetings facilitate networking, knowledge sharing, and professional development. For event details, visit pmissc.org.
This comprehensive program covers essential aspects of performance marketing, growth strategies, and tactics, such as search engine optimization (SEO), pay-per-click (PPC) advertising, content marketing, social media marketing, and more
New Explore Careers and College Majors 2024.pdfDr. Mary Askew
Explore Careers and College Majors is a new online, interactive, self-guided career, major and college planning system.
The career system works on all devices!
For more Information, go to https://bit.ly/3SW5w8W
2. Page 2
1. What is C++?
Released in 1985, C++ is an object-oriented programming language created
by Bjarne Stroustrup. C++ maintains almost all aspects of the C language,
while simplifying memory management and adding several features -
including a new datatype known as a class (you will learn more about these
later) - to allow object-oriented programming. C++ maintains the features of C
which allowed for low-level memory access but also gives the programmer
new tools to simplify memory management.
C++ used for:
C++ is a powerful general-purpose programming language. It can be used to
create small programs or large applications. It can be used to make CGI
scripts or console-only DOS programs. C++ allows you to create programs to
do almost anything you need to do. The creator of C++, Bjarne Stroustrup,
has put together a partial list of applications written in C++.
3. Page 3
2. How do you find out if a linked-list has an end? (i.e. the list is not a
cycle)?
You can find out by using 2 pointers. One of them goes 2 nodes each time.
The second one goes at 1 nodes each time. If there is a cycle, the one that
goes 2 nodes each time will eventually meet the one that goes slower. If that
is the case, then you will know the linked-list is a cycle.
3. What is the difference between realloc() and free()?
The free subroutine frees a block of memory previously allocated by the
malloc subroutine. Undefined results occur if the Pointer parameter is not a
valid pointer. If the Pointer parameter is a null value, no action will occur.
The realloc subroutine changes the size of the block of memory pointed to
by the Pointer parameter to the number of bytes specified by the Size
parameter and returns a new pointer to the block. The pointer specified by
the Pointer parameter must have been created with the malloc, calloc, or
realloc subroutines and not been deallocated with the free or realloc
subroutines. Undefined results occur if the Pointer parameter is not a valid
pointer.
4. Page 4
4. What is function overloading and operator overloading?
Function overloading: C++ enables several functions of the same name to be
defined, as long as these functions have different sets of parameters (at least as
far as their types are concerned). This capability is called function overloading.
When an overloaded function is called, the C++ compiler selects the proper
function by examining the number, types and order of the arguments in the call.
Function overloading is commonly used to create several functions of the same
name that perform similar tasks but on different data types.
Operator overloading allows existing C++ operators to be redefined so that they
work on objects of user-defined classes.
Overloaded operators are syntactic sugar for equivalent function calls. They
form a pleasant facade that doesn't add anything fundamental to the language
(but they can improve understandability and reduce maintenance costs).
5. Page 5
5. What is the difference between declaration and definition?
The declaration tells the compiler that at some later point we plan to present the
definition of this declaration.
E.g.: void stars () //function declaration
The definition contains the actual implementation.
E.g.: void stars () // declarator
{
for(int j=10; j > =0; j--) //function body
cout << *;
cout << endl; }
6. What are the advantages of inheritance?
It permits code reusability. Reusability saves time in program development. It
encourages the reuse of proven and debugged high-quality software, thus reducing
problem after a system becomes functional.
6. Page 6
7. Define Storage Classes and explain application domain?
Register: tell to the compiler for use a CPU register for fast aceess for that
variable.
Auto: It's a variable created and initialized when it is defined. It is not visible
outside of the block.
Static: defined inside of the function retain its value between calls. Always is
initialized with 0. Defined as global in a file is visible on for the functions from that
file.
Extern : The definition of the variable is in another file.
8. Define a "dangling" pointer?
Dangling pointer is obtained by using the address of an object which was freed.
9. Any difference between "const int*ptr" and int *const ptr" ?
Yes, it's a major difference. First define a constant data and second define a
constant pointer.
7. Page 7
10. Define the Storage Qualifiers?
const - define a variable that can not change its value along the program
execution.
volatile - define a variable that can be changed indirectly. An example can
be a counter register that is updated by hardware.
mutuable - a member of a structure or object can be changed even if the
structure, for example is declared const:
Ex: struct complex {mutuable int x; int y;};
const complex Mycomplex = {1, 2};
Mycomplex.x = 3; /* correct */
11. Does c++ support multilevel and multiple inheritance?
Yes.
8. Page 8
12. What is the difference between an ARRAY and a LIST?
Array is collection of homogeneous elements.
List is collection of heterogeneous elements.
For Array memory allocated is static and continuous.
For List memory allocated is dynamic and Random.
Array: User need not have to keep in track of next memory allocation.
List: User has to keep in Track of next location where memory is allocated.
13. Define a constructor - What it is and how it might be called.
constructor is a member function of the class, with the name of the function
being the same as the class name. It also specifies how the object should be
initialized.
Ways of calling constructor:
1) Implicitly: automatically by complier when an object is created.
2) Calling the constructors explicitly is possible, but it makes the code
unverifiable.
9. Page 9
14. What is a template?
Templates allow to create generic functions that admit any data type as
parameters and return value without having to overload the function with all
the possible data types. Until certain point they fulfill the functionality of a
macro. Its prototype is any of the two following ones:
template <class indetifier> function_declaration; template <typename
indetifier> function_declaration;
The only difference between both prototypes is the use of keyword class or
typename, its use is indistinct since both expressions have exactly the same
meaning and behave exactly the same way.
15. What is RTTI?
Runtime type identification (RTTI) lets you find the dynamic type of an object
when you have only a pointer or a reference to the base type. RTTI is the
official way in standard C++ to discover the type of an object and to convert
the type of a pointer or reference (that is, dynamic typing). The need came
from practical experience with C++. RTTI replaces many Interview Questions
- Homegrown versions with a solid, consistent approach.
10. Page 10
16. How can you tell what shell you are running on UNIX system?
You can do the Echo $RANDOM. It will return a undefined variable if you are
from the C-Shell, just a return prompt if you are from the Bourne shell, and a 5
digit random numbers if you are from the Korn shell. You could also do a ps -l
and look for the shell with the highest PID.
17. What do you mean by inheritance?
Inheritance is the process of creating new classes, called derived classes, from
existing classes or base classes. The derived class inherits all the capabilities of
the base class, but can add embellishments and refinements of its own.
18. What is Boyce Codd Normal form?
A relation schema R is in BCNF with respect to a set F of functional
dependencies if for all functional dependencies in F+ of the form a-> , where a
and b is a subset of R, at least one of the following holds:
* a- > b is a trivial functional dependency (b is a subset of a)
* a is a superkey for schema R
11. Page 11
19. What is namespace?
Namespaces allow us to group a set of global classes, objects and/or
functions under a name.
To say it somehow, they serve to split the global scope in sub-scopes known
as namespaces.
The form to use namespaces is:
namespace identifier { namespace-body }
Where identifier is any valid identifier and namespace-body is the set of
classes, objects and functions that are included within the namespace. For
example:
namespace general { int a, b; }
In this case, a and b are normal variables integrated within the general
namespace. In order to access to these variables from outside the
namespace we have to use the scope operator ::.
For example, to access the previous variables we would have to put:
general::a general::b
The functionality of namespaces is specially useful in case that there is a
possibility that a global object or function can have the same name than
another one, causing a redefinition error.
12. Page 12
20. What do you mean by binding of data and functions?
Encapsulation.
21. What are virtual functions?
A virtual function allows derived classes to replace the implementation
provided by the base class.
The compiler makes sure the replacement is always called whenever the
object in question is actually of the derived class, even if the object is
accessed by a base pointer rather than a derived pointer. This allows
algorithms in the base class to be replaced in the derived class, even if users
don't know about the derived class.
22. What is the difference between an external iterator and an internal
iterator? Describe an advantage of an external iterator.
An internal iterator is implemented with member functions of the class that
has items to step through. .An external iterator is implemented as a separate
class that can be "attach" to the object that has items to step through
.An external iterator has the advantage that many difference iterators can be
active simultaneously on the same object.
13. Page 13
23. What is an HTML tag?
An HTML tag is a syntactical construct in the HTML language that
abbreviates specific instructions to be executed when the HTML script is
loaded into a Web browser.
It is like a method in Java, a function in C++, a procedure in Pascal, or a
subroutine in FORTRAN.
24. How do you decide which integer type to use?
It depends on our requirement.
When we are required an integer to be stored in 1 byte (means less than or
equal to 255) we use short int, for 2 bytes we use int, for 8 bytes we use long
int.
A char is for 1-byte integers, a short is for 2-byte integers, an int is generally
a 2-byte or 4-byte integer (though not necessarily), a long is a 4-byte integer,
and a long long is a 8-byte integer.
25.What is a class?
Class is a user-defined data type in C++. It can be created to solve a
particular kind of problem. After creation the user need not know the specifics
of the working of a class.
14. Page 14
For more details, Please log on to www.rekruitin.com
Customer Care : 8855041500
Career Guidance : 9823205144
Tech Support : 7758806112
Human Resource: 9823204144
You can also Find us on: