Why c++ is not used for gaming purpose !!!
who tell you that?! it used in gaming development in a big role, check that: C++ give you finer grain of control over the actual hardware and bit pushing. For common business needs, a third generation language such as Java or C# is quicker to program and takes worries like pointers and garbage collection off the hands of the developer. This is at a cost of lack of ability to optimize and fine tune how memory and data structures are used. You can also take a hybrid approach of breaking the game into a higher level language for scripting etc and then "drop" into C++ land for parts that require the speed and optimizations.
What?!! C++ is one of the most widely used languages for game dev. I don’t know who told you otherwise, but they were wrong. C++ is amazing for game dev!
What are you talking about? C++ is used in Unreal Engine which is one of the most famous game engines.
because it is to big to write a program in c++ than other programming language
Yes, in C++ you need few more lines for many tasks than you need for example in Python. But that doesn't make C++ bad or unsuitable for gaming purposes. It is one of the fastest and most powerful programming languages out there.
bcoz it's low level interface
Problem Statement Given two integers a and b, your task is to calculate and print the following four values:
Please help, any idea?