Can you pass an array to a function in c++?
Is c++ high level programming language?
What are signs of manipulation?
What is RAII (Resource Acquisition Is Initialization)?
What is the difference between reference type and pointers.
Name the debugging methods that are used to solve problems?
What is the need of a destructor? Explain with the help of an example.
How is memory managed in C++?
What is a friend function in c++?
Is c++ still in demand?
There are 100 students in a class. The management keep information in two tables. Those two tables are given like Roll no Name Age 001 ABC 15 002 XYZ 14 and Roll No Subject Marks 001 Math 75 001 Physics 55 002 Math 68 001 Hindi 69 They want the information like this Roll No Name Hindi Physics Math Total 001 ABC 69 55 75 199 002 XYZ 68 74 84 226 And Roll No Suject Highest 001 Math 98 007 Physics 84 021 Hindi 74 All 275 All information is kept in structure in main memory. You have to find last two tables.
How would you implement a substr() function that extracts a sub string from a given string?
In a function declaration, what does extern mean?