How do I run a program in notepad ++?
Why did you leave your last job?
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?
What is an iterator?
What happens when the extern "c" char func (char*,waste) executes?
give me some class & objects examples?
What causes a runtime error c++?
What will happen if I allocate memory using "new" and free it using "free" or allocate sing "calloc" and free it using "delete"?
char *ch = "abcde"; char c[4]; how to copy 'ch' to 'c'?
What is dev c++ used for?
What is the difference between cin.read() and cin.getline()?
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.
Explain the isa and hasa class relationships. How would you implement each?