473,326 Members | 2,023 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

sample technical questions in C++

pls get me some tech questions on c/c++/java
Aug 3 '06 #1
2 5812
1. What is the output of printf(”%d”)
2. What will happen if I say delete this
3. Difference between “C structure” and “C++ structure”.
4. Diffrence between a “assignment operator” and a “copy constructor”
5. What is the difference between “overloading” and “overridding”?
6. Explain the need for “Virtual Destructor”.
7. Can we have “Virtual Constructors”?
8. What are the different types of polymorphism?
9. What are Virtual Functions? How to implement virtual functions in “C”
10. What are the different types of Storage classes?
11. What is Namespace?
12. What are the types of STL containers?.
13. Difference between “vector” and “array”?
14. How to write a program such that it will delete itself after exectution?
15. Can we generate a C++ source code from the binary file?
16. What are inline functions?
17. What is “strstream” ?
18. Explain “passing by value”, “passing by pointer” and “passing by reference”
19. Have you heard of “mutable” keyword?
20. What is a “RTTI”?
21. Is there something that I can do in C and not in C++?
22. What is the difference between “calloc” and “malloc”?
23. What will happen if I allocate memory using “new” and free it using “free” or allocate sing “calloc” and free it using “delete”?
24. Difference between “printf” and “sprintf”.
25. What is “map” in STL?
26. When shall I use Multiple Inheritance?
27. Explain working of printf.
28. Talk sometiming about profiling?
29. How many lines of code you have written for a single program?
30. How to write Multithreaded applications using C++?
31. Write any small program that will compile in “C” but not in “C++”
32. What is Memory Alignment?
33. Why preincrement operator is faster than postincrement?
34. What are the techniques you use for debugging?
35. How to reduce a final size of executable?
36. Give 2 examples of a code optimization.
May 14 '07 #2
AdrianH
1,251 Expert 1GB
You got quite a list there.

Perhaps you should continue with stating your answers and we can help in evaluating them.


Adrian
May 14 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

56
by: Cherrish Vaidiyan | last post by:
Frinds, Hope everyone is doing fine.i feel pointers to be the most toughest part in C. i have just completed learning pointers & arrays related portions. I need to attend technical interview on...
22
by: flit | last post by:
Hello All, I have a hard question, every time I look for this answer its get out from the technical domain and goes on in the moral/social domain. First, I live in third world with bad gov., bad...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.