S Siddharth M 🎓 Master ⭐ 1.75K Points 📊 C++ Q. What are the escape sequences? (A) Set of characters that convey special meaning in a program (B) Set of characters that are used in the name of the main function of the program (C) Set of characters that whose use are avoided in C++ programs (D) Set of characters that are avoided in cout statements 👁️ Show Answer 💬 Discuss 🔗 Share ✅ Correct Answer: (A) Set of characters that convey special meaning in a program
K Krishna Sharma 🎓 Coach ⭐ 48.25K Points 📊 Linux Q. User passwords are stored in _____________ (A) /root/password (B) /etc/password (C) /etc/passwd (D) /root/passwd 👁️ Show Answer 💬 Discuss 🔗 Share ✅ Correct Answer: (C) /etc/passwd
B Babita 🎓 Tutor III ⭐ 8.10K Points 📊 C++ Q. What is the correct syntax of accessing a static member of a class in C++? Code: Example class: class A { public: static int value; } (A) A::value (B) A->value (C) A^value (D) A.value 👁️ Show Answer 💬 Discuss 🔗 Share ✅ Correct Answer: (A) A::value
P Parvesh Kanani 🎓 Extraordinary ⭐ 2.84K Points 📊 Python Q. Output of the following python program will be? Code: x = [i**+1 for i in range(3)]; print(x); (A) [1,2,5] (B) [0,1,2] (C) Error ';" (D) None of the above 👁️ Show Answer 💬 Discuss 🔗 Share ✅ Correct Answer: (B) [0,1,2]
R Ram Sharma 🎓 Coach ⭐ 193.88K Points 📊 Linux Q. Which command and options are used to delete a user’s account and home directory? (A) usermod -e (B) passwd -e (C) usermod -f (D) userdel -r 👁️ Show Answer 💬 Discuss 🔗 Share ✅ Correct Answer: (D) userdel -r
R Ram Sharma 🎓 Coach ⭐ 193.88K Points 📊 C++ Q. A class is a collection of ________ and _________ (A) data-members, member functions and main() (B) data-members, member functions, main() and include statements (C) data-members & member functions (D) None of the above 👁️ Show Answer 💬 Discuss 🔗 Share ✅ Correct Answer: (C) data-members & member functions
P Prabhas Kapoor 🎓 Master ⭐ 1.64K Points 📊 C Programming Q. Which of the following storage classes have global visibility in C? (A) Auto (B) Static (C) Extern (D) Register 👁️ Show Answer 💬 Discuss 🔗 Share ✅ Correct Answer: (C) Extern
P Parvesh Kanani 🎓 Extraordinary ⭐ 2.84K Points 📊 MySQL Q. The string function that returns the index of the first occurrence of substring is _____________. (A) INSTRING() (B) INSERT() (C) INSTR() (D) INFSTR() 👁️ Show Answer 💬 Discuss 🔗 Share ✅ Correct Answer: (C) INSTR()
I Indresh Gehalot 🎓 Tutor II ⭐ 10.11K Points 📊 C Programming Q. How many loops are there in C (A) 2 (B) 3 (C) 4 (D) 1 👁️ Show Answer 💬 Discuss 🔗 Share ✅ Correct Answer: (B) 3
R Ram Sharma 🎓 Coach ⭐ 193.88K Points 📊 C Programming Q. What is the scope of static class specifier? (A) Global Multiple files (B) Within block (C) Within Program (D) None of the above 👁️ Show Answer 💬 Discuss 🔗 Share ✅ Correct Answer: (B) Within block