C# Interview Questions - 38 | Snaprecruit.com
C# Interview Questions - 38 | Snaprecruit.com
JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing
Enterprises
C SHARP interview questions part 38
C SHARP interview questions part 38
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 6
1. Which function is used to read a single character from the console in C++?
A. hello 6world
B. hello good world
C. hello goodworld
D. hello good world
Show Correct Answer
Correct Answer is :
hello goodworld
2. Which function is used to write a single character to console in C++?
A. efil evoli
B. lifelove i
C. efilevol i
D. efil evol i
Show Correct Answer
Correct Answer is :
efilevol i
3. What are the escape sequences?
A. reverse() method reverses some characters
B. reverseall() method reverses all characters
C. replace() method replaces all instances of a character with new character
D. replace() method replaces first occurrence of a character in invoking string with another character
Show Correct Answer
Correct Answer is :
replace() method replaces all instances of a character with new character
4. Which of the following escape sequence represents carriage return?
A. String()
B. StringBuilder()
C. String() & StringBuilder()
D. None of the mentioned
Show Correct Answer
Correct Answer is :
StringBuilder()
5. Which of the following escape sequence represents tab?
A. System.Class
B. System.Array
C. System.Text
D. None of the mentioned
Show Correct Answer
Correct Answer is :
System.Text
6. Who created C++?
A. Write()
B. Wrteline()
C. WriteByte()
D. All of the mentioned
Show Correct Answer
Correct Answer is :
WriteByte()
Similar Interview Questions
Search for latest jobs
Find Jobs