STL (140)
OOPS (873)
C++ General (2409) Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.
3012What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
SRA,
2611show that among any group of five (not necessary consecutive ) integers, there are two with the same remainder when divided by 4.
1 11125Write a program to get the value of sin (x) using a library function , when x is given in degrees.
1 4829
Please explain class & object in c++?
What does namespace mean in c++?
List down the guideline that should be followed while using friend function.
What is stoi in c++?
Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);
What is cout flush?
Write a program to concatenate two strings.
Differentiate between a constructor and a destructor in c++.
how can i access a direct (absolute, not the offset) memory
address?
here is what i tried:
wrote a program that ask's for an address from the user,
creates a FAR pointer to that adress and shows it. then the
user can increment/decrement the value in that address by
pressing p(inc+) and m(dec-).
NOW, i compiled that program and opened it twice (in 2
different windows) and gave twice the same address to it.
now look what happen - if i change the value in
one "window" of the program, it DOES NOT change in the
other! even if they point to the same address in the memory!
here is the code snippet:
//------------------------------------------------------
#include Differentiate between an array and a list? What does std :: flush do? What are the advantages of using a pointer? What does 7/9*9 equal ?
a) 1
b) 0.08642
c) 0 What's the value of the expression 5["abxdef"]? What is Advantage and Use of THIS pointer in C++ – Scenarios?