What is the difference between '=' and '=='?

=’ is an assignment operator which is used to assign any value.

                          
                             
              
             
         

Is there any C+ programming language between C and C++?

No, there is no language exists between C & C++. As we know that C++ is the superset of C language.
                          
                             
              
             
         

What is modulus or modulo division operator ?

Modulus or modulo division operator (%) returns the remainder.
syntax: dividend % divisor

                          
                             
              
             
         

How can we use scanset to restrict any character input from user ?

We can restrict or allow any character set for user input using scanset  %[].
                          
      
         

How to learn and improve programming skills ?


The key to success : practice and learn, more and more.

Like other skills, if you want to learn programming, you have to dedicate some of your serious time to it.

                          
      
         

Is string in switch case is allowed in JAVA as in C# ?

  • JAVA SE 06 or earlier :-   Not Allowed
  • JAVA SE 07 or later    :-    Allowed
                          
      
         

How to write an object to a file in c++ ?

In C++, for writing and accessing an object to/from a file we may use write and read functions provided by fstream.

Consider this example :