// making the class
class Counter {
int counter;
int limit;
// Constructor
Counter(int a, int b){
counter = a;
limit = b;
}
// static function to increment
static increment(){
if(counter<limit)
nCounter+=1;
}
// Decrement function
void decrement(){
if(counter>0)
nCounter-=1;
}
int getValue(){
return counter;
}
static int nCounter;
int getNCounters(){
return nCounter;
}
};
// Initializa the static
int Counter::nCounter = 0;
Answer:
This is true
Explanation:
Comments don't effect your program at all.
The computer doesn't even read the line with the comment, what you right before the comment tells the computer to skip this line.
So you can place them anywhere
Just quizlet it believe me it will help 100%
Answer: Social media
Explanation:
Social media is defined as the group of the internet based various applications that basically build on the foundation of technological and ideological of the web 2.0. It basically allow the exchange of the user content and creation.
It is the most flexible platform that enable the users with the huge experience. It is also known as free and open source platform. It basically contain the various content that are algorithm driven and machine learning.