Posts

Showing posts with the label Interview

Laravel and PHP Based Interview Questions That Mostly Asked

 Laravel and PHP Based Interview Questions That Mostly Asked 1. Union and Union All:    - Union: Combines the result sets of two or more SELECT queries and removes duplicates.    - Union All: Combines the result sets of two or more SELECT queries without removing duplicates. 2. Git Rename:    - To rename a file in Git, use the command: `git mv old_filename new_filename`. This stages the change, and you need to commit it with `git commit`. 3. What is .env? How to Protect?:    - .env: A file used to store environment variables in a key-value format. It is typically used to store sensitive information like API keys, database credentials, etc.    - Protection: Ensure the `.env` file is listed in `.gitignore` so it is not committed to version control. You can also set file permissions to restrict access. 4. What is .gitignore?:    - A `.gitignore` file specifies which files or directories Git should ignore and not track. Common...

C++ Interview Questions

Image
          C++ Interview Questions 2 1) What is C++? 2 2) What are the advantages of C++? 2 3) What is the difference between C and C++? 3 4) What is the difference between reference and pointer? 4 5) What is a class? 5 6) What are the various OOPs concepts in C++? 5 Note: The visibility-mode can be public, private, protected. 7 7) What are the different types of polymorphism in C++? 8 8) Define namespace in C++. 12 9) Define token in C++. 14 10) Who was the creator of C++? 14 11) Which operations are permitted on pointers? 14 12) Define 'std'. 16 13) Which programming language's unsatisfactory performance led to the discovery of C++? 16 14) How delete [] is different from delete? 16 15) What is the full form of STL in C++? 16 16) What is an object? 16 17) What are the C++ access specifiers? 17 18) What is Object Oriented Programming (OOP)? 17 19) What is the difference between an array and a list? 18 20) What is the...