4 months ago • Coding enthusiast

Github Copilot is now free for VsCode 🔥 

4 months ago • Coding enthusiast

What is the default behavior of the useEffect hook? 

4 months ago • Coding enthusiast

What is the purpose of the key attribute in a list? 

4 months ago • Coding enthusiast

Which React hook is used to handle state in functional components? 

4 months ago • Coding enthusiast

What is the correct way to create a functional component in React?a) function MyComponent { return 
Hello
; }

5 months ago • Coding enthusiast

What is the output of the following code?

int a = 15, b = 10, c = 5;
cout << (a > b ? (b > c ? b : c) : a); 

5 months ago • Coding enthusiast

What is the size of an int in C++ on most systems? 

A. 2 bytes

B. 4 bytes

C. 8 bytes

D. System-dependent

14 votes

5 months ago • Coding enthusiast

Which skill do you want to master in 2024 ? 

Comment Down ... 

AI/ML

Blockchain

Cloud Computing

Web Development

8 votes

2 years ago • Coding enthusiast

What is the output ?



 #include  
     #include 
    using namespace std;
    int main ()
    {
        int array[] = {0, 2, 4, 6, 7, 5, 3};
        int n, result = 0;
        for (n = 0; n < 8; n++) 
        {
            result += array[n];
        }
        cout << result;
        return 0;
    }


check answer next day in comment . same for previous post 

21

27

26

25

51 votes

3 years ago • Coding enthusiast

What is the output ?

 #include  
    using namespace std;
    int main ()
    {
        int a, b, c;
        a = 2;
        b = 7;
        c = (a > b) ? a : b;
        cout << c;
        return 0;
    }

check answer next day in comment . same for previous post 

12

14

6

7

56 votes