JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
C SHARP interview questions part 37
C SHARP interview questions part 37
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Which one is always faster in writing on C++?
A. sanfoundry
B. sanfoundry.com
C. www.sanfoundry.com
D. https://www.sanfoundry.com/csharpmcq
Show Correct Answer
Correct Answer is :
https://www.sanfoundry.com/csharpmcq
2. How many tests are available in read and write operations?
A. status
B. address
C. statusResponse
D. statusCode
Show Correct Answer
Correct Answer is :
statusCode
3. What will act as a intermediate between i/o operations and physical file?
A. URL
B. URLDecoder
C. URLConnection
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
4. By using which function does the buffer are automatically flushed?
A. 4490
B. 5040
C. 5400
D. 3500
Show Correct Answer
Correct Answer is :
5040
5. How many parameters are available in the function setbuf?
A. 30, 55
B. 55, 30
C. Compile time error
D. 0, 0
Show Correct Answer
Correct Answer is :
Compile time error
6. Where are standard C libraries defined in C++?
A. &
B. out
C. ref
D. &&
Show Correct Answer
Correct Answer is :
ref
7. Which of the following have their changes in their declaration related to constness of parameter?
A. ref int a, int b, ref float c
B. ref int a, ref float c, ref int b
C. ref int a, ref int b, float c
D. ref int a, ref int b, ref float c
Show Correct Answer
Correct Answer is :
ref int a, ref int b, ref float c
8. How many elements does a floating point number is composed of?
A. An argument passed to a ref parameter need not to be initialized first
B. Variables passed as out arguments need to be initialized prior to being passed
C. To use a ref parameter, only the calling method must explicitly use the ref keyword
D. None of the mentioned
Show Correct Answer
Correct Answer is :
None of the mentioned
9. How does the limits.h header file can be represented in C++?
A. 1, 2, 3, 4, 5
B. 5, 10, 15, 20, 25
C. 5, 25, 125, 625, 3125
D. 6, 12, 18, 24, 30
Show Correct Answer
Correct Answer is :
5, 10, 15, 20, 25
10. Pick out the correct syntax of the header file that can be used with C++.
A. Compile time error
B. 2, 21, 34, 4, 6, 46, 88, 90
C. 2, 4, 34, 46, 6, 88, 90
D. 2, 34, 46, 88, 90
Show Correct Answer
Correct Answer is :
2, 34, 46, 88, 90
11. Pick out the in correct type of function in header file.
A. void func(int[] x)
B. void func(int x)
C. void func(param int[])
D. void fun(param int[] x)
Show Correct Answer
Correct Answer is :
void fun(param int[] x)
12. What type of algorithm is not available in creating our own STL style algorithms?
A. 67 83 72 65 82 80
B. P R A H S C
C. C S H A R P
D. 80 82 65 72 83 67
Show Correct Answer
Correct Answer is :
C S H A R P
13. What is meant by hash tables in C++?
A. A, B, C, D, E, F
B. F, E, D, C, B, A
C. f, e, d, c, b
D. b, c, d, e, f
Show Correct Answer
Correct Answer is :
f, e, d, c, b
14. What is the use of includes function in c++?
A. 3245
B. 2354
C. 2345
D. 5423
Show Correct Answer
Correct Answer is :
2345
15. How many parameters are required for sort_heap function?
A. 0.05f
B. 1.50f
C. -0.04999995f
D. 1.50f
Show Correct Answer
Correct Answer is :
-0.04999995f
16. Which of the following is the correct syntax of including a user defined header files in C++?
A. code prints output as 0 0 0 0 0
B. code prints output as 10 20 30 40 50
C. infinite loop but doesn’t print anything
D. Code generate error
Show Correct Answer
Correct Answer is :
infinite loop but doesn’t print anything
17. Which of the following is called address operator?
A. Hi…
B. Hello….
C. Hi…infinite times
D. Hello infinite times
Show Correct Answer
Correct Answer is :
Hello….
18. Which of the following is used for comments in C++?
A. -127 to +127
B. 0 to 127
C. 1
D. Infinite loop condition
Show Correct Answer
Correct Answer is :
1
19. What are the actual parameters in C++?
A. sharp
B. c
C. c
D. sharp c
Show Correct Answer
Correct Answer is :
c
20. What are the formal parameters in C++?
A. 0 6 7 8
B. 0 5 7 9
C. 5 9 0 7
D. 0 5 7 12
Show Correct Answer
Correct Answer is :
0 5 7 12
Similar Interview Questions
Search for latest jobs
Find Jobs